• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • @topname@
  • Sitemap
  • Contact Us
 

kdoctools

main.cpp

00001 #include <string.h>
00002 #include <sys/time.h>
00003 #include <unistd.h>
00004 #include <libxml/xmlversion.h>
00005 #include <libxml/xmlmemory.h>
00006 #include <libxml/debugXML.h>
00007 #include <libxml/HTMLtree.h>
00008 #include <libxml/xmlIO.h>
00009 #include <libxml/parserInternals.h>
00010 #include <libxslt/xsltconfig.h>
00011 #include <libxslt/xsltInternals.h>
00012 #include <libxslt/transform.h>
00013 #include <libxslt/xsltutils.h>
00014 #include <qstring.h>
00015 #include <kstandarddirs.h>
00016 #include <kinstance.h>
00017 #include <kdebug.h>
00018 #include <stdlib.h>
00019 #include "kio_help.h"
00020 #include <xslt.h>
00021 
00022 extern int xmlLoadExtDtdDefaultValue;
00023 
00024 extern "C"
00025 {
00026     KDE_EXPORT int kdemain( int argc, char **argv )
00027     {
00028         KInstance instance( "kio_help" );
00029         fillInstance(instance);
00030         (void)instance.config(); // we need this one to make sure system globals are read
00031 
00032         kdDebug(7101) << "Starting " << getpid() << endl;
00033 
00034         if (argc != 4)
00035         {
00036             fprintf(stderr, "Usage: kio_help protocol domain-socket1 domain-socket2\n");
00037             exit(-1);
00038         }
00039 
00040         LIBXML_TEST_VERSION
00041         xmlSubstituteEntitiesDefault(1);
00042         xmlLoadExtDtdDefaultValue = 1;
00043 
00044         HelpProtocol slave(false, argv[2], argv[3]);
00045         slave.dispatchLoop();
00046 
00047         kdDebug(7101) << "Done" << endl;
00048         return 0;
00049     }
00050 }
00051 
00052 
00053 

kdoctools

Skip menu "kdoctools"
  • Main Page
  • File List
  • Related Pages

@topname@

Skip menu "@topname@"
  •     kdnssd-avahi
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for @topname@ by doxygen 1.5.5
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal