├── .gitignore ├── ChangeLog ├── LICENSE.txt ├── Makefile ├── README ├── THIRDPARTYLICENSE.txt ├── docs ├── BUILDING ├── BUILDING_Debian └── BUILDING_Solaris10x86 ├── make ├── Makefile ├── base.mk ├── defines_COMMON.mk ├── defines_JAVA.mk ├── defines_Linux.mk ├── defines_Linux_debian.mk ├── defines_Linux_debian_6_i686_32.mk ├── defines_Linux_debian_7_x86_64.mk ├── defines_Linux_redhat.mk ├── defines_SOLARIS.mk ├── defines_SunOS.mk ├── defines_SunOS_OpenIndiana_5.11_i86pc.mk ├── defines_SunOS_Sun_5.10.mk ├── defines_SunOS_Sun_5.10_i86pc.mk ├── defines_SunOS_Sun_5.10_sun4u.mk ├── defines_SunOS_Sun_5.10_sun4v.mk ├── defines_UNIX.mk ├── defines_WebServer.mk ├── pinfo ├── rules.mk ├── rules_COMMON.mk ├── rules_JAVA_JDK_1.5.mk ├── rules_Linux.mk └── rules_SunOS.mk ├── sbc ├── Makefile ├── README ├── ldapsdk │ ├── Makefile.linux │ ├── Makefile.redhat │ └── Makefile.solaris ├── pcre │ └── Makefile.solaris ├── xalan-c │ ├── Makefile.redhat │ ├── Makefile.solaris │ └── patches │ │ ├── Makefile.incl.in.patch │ │ └── runConfigure.patch └── xerces-c │ ├── Makefile.redhat │ ├── Makefile.solaris │ └── patches │ ├── Makefile.incl.patch │ └── runConfigure.patch ├── schema └── heliod-web-server_1_0.xsd ├── src ├── Makefile ├── genProductConstants.pl ├── java │ ├── Makefile │ ├── build.xml │ └── com │ │ └── sun │ │ └── webserver │ │ └── xsd2cpp │ │ ├── SchemaUtil.java │ │ └── XSD2Cpp.java ├── sbc │ └── Makefile ├── server │ ├── Makefile │ ├── base │ │ ├── LibMgr.cpp │ │ ├── LibMgr.hpp │ │ ├── Makefile │ │ ├── SemPool.cpp │ │ ├── SemPool.h │ │ ├── arcfour.cpp │ │ ├── arcfour.h │ │ ├── baseobjs.mk │ │ ├── buffer.cpp │ │ ├── buffer.h │ │ ├── cache.cpp │ │ ├── cache.h │ │ ├── cinfo.cpp │ │ ├── cinfo.h │ │ ├── crit.cpp │ │ ├── crit.h │ │ ├── daemon.cpp │ │ ├── daemon.h │ │ ├── date.cpp │ │ ├── date.h │ │ ├── dbtbase.h │ │ ├── dll.cpp │ │ ├── dll.h │ │ ├── dns.cpp │ │ ├── dns_cache.cpp │ │ ├── dns_cache.h │ │ ├── dnsdmain.cpp │ │ ├── ereport.cpp │ │ ├── ereport.h │ │ ├── eventhandler.cpp │ │ ├── eventhandler.h │ │ ├── eventlog.cpp │ │ ├── eventlog.h │ │ ├── file.cpp │ │ ├── file.h │ │ ├── keyword.cpp │ │ ├── keyword.h │ │ ├── keyword_pvt.h │ │ ├── language.cpp │ │ ├── language.h │ │ ├── lexer.cpp │ │ ├── lexer.h │ │ ├── lexer_pvt.h │ │ ├── libbase.spec │ │ ├── libbase.versions │ │ ├── loadavg.cpp │ │ ├── loadavg.h │ │ ├── minissl.h │ │ ├── net.cpp │ │ ├── net.h │ │ ├── netbuf.cpp │ │ ├── netio.h │ │ ├── netlayer.cpp │ │ ├── nsassert.h │ │ ├── nscperror.c │ │ ├── nscperror.h │ │ ├── nterrors.h │ │ ├── ntgenerr.cpp │ │ ├── ntpipe.cpp │ │ ├── ntservermessage.cpp │ │ ├── ntservermessage.h │ │ ├── objndx.cpp │ │ ├── objndx.h │ │ ├── params.cpp │ │ ├── params.h │ │ ├── pathnames.cpp │ │ ├── pathnames.h │ │ ├── pblock.cpp │ │ ├── pblock.h │ │ ├── platform.cpp │ │ ├── platform.h │ │ ├── plist.cpp │ │ ├── plist.h │ │ ├── plist_pvt.h │ │ ├── pool.cpp │ │ ├── pool.h │ │ ├── pool_pvt.h │ │ ├── qvalue.cpp │ │ ├── regexp.cpp │ │ ├── regexp.h │ │ ├── restart.cpp │ │ ├── rwlock.cpp │ │ ├── rwlock.h │ │ ├── sem.cpp │ │ ├── sem.h │ │ ├── servnss.cpp │ │ ├── servnss.h │ │ ├── servssl.c │ │ ├── session.cpp │ │ ├── session.h │ │ ├── shexp.cpp │ │ ├── shexp.h │ │ ├── shmem.cpp │ │ ├── shmem.h │ │ ├── sslconf.cpp │ │ ├── sslconf.h │ │ ├── strtok.cpp │ │ ├── system.cpp │ │ ├── systems.h │ │ ├── systhr.cpp │ │ ├── systhr.h │ │ ├── unix_utils.cpp │ │ ├── unix_utils.h │ │ ├── uri.cpp │ │ ├── url64.cpp │ │ ├── url64.h │ │ ├── util.cpp │ │ ├── util.h │ │ ├── util_rng.cpp │ │ ├── uuencode.cpp │ │ ├── uuid.cpp │ │ ├── uuid.h │ │ ├── vs.cpp │ │ ├── vs.h │ │ ├── wdservermessage.cpp │ │ └── wdservermessage.h │ ├── extras │ │ ├── Makefile │ │ └── binlog │ │ │ ├── Makefile │ │ │ └── binlog.cpp │ ├── frame │ │ ├── ErrMessages.h │ │ ├── Makefile │ │ ├── accel.cpp │ │ ├── accel.h │ │ ├── acl.h │ │ ├── aclframe.cpp │ │ ├── aclinit.h │ │ ├── args.cpp │ │ ├── args.h │ │ ├── args_pvt.h │ │ ├── clauth.h │ │ ├── cmstat.cpp │ │ ├── cmstat.h │ │ ├── conf.cpp │ │ ├── conf.h │ │ ├── conf_api.cpp │ │ ├── conf_api.h │ │ ├── conf_init.cpp │ │ ├── conf_init.h │ │ ├── cookie.cpp │ │ ├── cookie.h │ │ ├── dbtframe.h │ │ ├── dnfilter.cpp │ │ ├── dnfilter.h │ │ ├── domain.cpp │ │ ├── domain.h │ │ ├── error.cpp │ │ ├── error.h │ │ ├── expr.cpp │ │ ├── expr.h │ │ ├── expr.tab.cpp │ │ ├── expr.tab.cpp.sed │ │ ├── expr.tab.h │ │ ├── expr.tab.h.sed │ │ ├── expr.y │ │ ├── expr_parse.h │ │ ├── expr_pvt.h │ │ ├── expr_yy.h │ │ ├── filter.cpp │ │ ├── filter.h │ │ ├── filter_pvt.h │ │ ├── frameobjs.mk │ │ ├── func.cpp │ │ ├── func.h │ │ ├── http.cpp │ │ ├── http.h │ │ ├── http_ext.h │ │ ├── httpact.cpp │ │ ├── httpact.h │ │ ├── httpd-fn.cpp │ │ ├── httpdir.cpp │ │ ├── httpdir.h │ │ ├── httpfilter.cpp │ │ ├── httpfilter.h │ │ ├── ipfilter.cpp │ │ ├── ipfilter.h │ │ ├── log.cpp │ │ ├── log.h │ │ ├── model.cpp │ │ ├── model.h │ │ ├── model_pvt.h │ │ ├── nsapi30.cpp │ │ ├── nsapi_accessors.cpp │ │ ├── nsapi_accessors.h │ │ ├── object.cpp │ │ ├── object.h │ │ ├── objset.cpp │ │ ├── objset.h │ │ ├── otype_helper.cpp │ │ ├── otype_helper.h │ │ ├── outputvector.h │ │ ├── protocol.h │ │ ├── redirect.h │ │ ├── req.cpp │ │ ├── req.h │ │ ├── result.cpp │ │ ├── result.h │ │ ├── result_pvt.h │ │ ├── servact.h │ │ ├── tokenizer.cpp │ │ └── tokenizer.h │ ├── httpdaemon │ │ ├── AuthDb.cpp │ │ ├── AuthDb.h │ │ ├── ChildAdminThread.cpp │ │ ├── ChildAdminThread.h │ │ ├── HttpMethodRegistry.cpp │ │ ├── HttpMethodRegistry.h │ │ ├── JavaConfig.cpp │ │ ├── JavaConfig.h │ │ ├── ListenSocket.cpp │ │ ├── ListenSocket.h │ │ ├── ListenSocketConfig.cpp │ │ ├── ListenSocketConfig.h │ │ ├── ListenSocketConfigHash.cpp │ │ ├── ListenSocketConfigHash.h │ │ ├── ListenSockets.cpp │ │ ├── ListenSockets.h │ │ ├── Makefile │ │ ├── NTStatsServer.cpp │ │ ├── NTStatsServer.h │ │ ├── OptionsConfig.cpp │ │ ├── ParentAdmin.cpp │ │ ├── ParentAdmin.h │ │ ├── ParentStats.cpp │ │ ├── ParentStats.h │ │ ├── StatsClient.cpp │ │ ├── StatsClient.h │ │ ├── StatsMsgHandler.cpp │ │ ├── StatsMsgHandler.h │ │ ├── StatsMsgPreparer.cpp │ │ ├── StatsMsgPreparer.h │ │ ├── UnixSignals.cpp │ │ ├── UnixSignals.h │ │ ├── WatchdogClient.cpp │ │ ├── WatchdogClient.h │ │ ├── WebServer.cpp │ │ ├── WebServer.h │ │ ├── acceptconn.cpp │ │ ├── acceptconn.h │ │ ├── configuration.cpp │ │ ├── configuration.h │ │ ├── configurationmanager.cpp │ │ ├── configurationmanager.h │ │ ├── connqueue.cpp │ │ ├── connqueue.h │ │ ├── daemonobjs.mk │ │ ├── daemonsession.cpp │ │ ├── daemonsession.h │ │ ├── dbthttpdaemon.h │ │ ├── fileutility.cpp │ │ ├── fileutility.h │ │ ├── hpuxkernelstats.cpp │ │ ├── hpuxkernelstats.h │ │ ├── hpuxprocessstats.cpp │ │ ├── hpuxprocessstats.h │ │ ├── httpdaemon.h │ │ ├── httpheader.cpp │ │ ├── httpheader.h │ │ ├── httprequest.cpp │ │ ├── httprequest.h │ │ ├── internalstats.h │ │ ├── javastatsmanageritf.h │ │ ├── kapollthr.cpp │ │ ├── kapollthr.h │ │ ├── kernelstatsbase.h │ │ ├── libdaemon.h │ │ ├── linuxkernelstats.cpp │ │ ├── linuxkernelstats.h │ │ ├── linuxprocessstats.cpp │ │ ├── linuxprocessstats.h │ │ ├── logmanager.cpp │ │ ├── logmanager.h │ │ ├── lognsprdescriptor.cpp │ │ ├── lognsprdescriptor.h │ │ ├── lsmanager.h │ │ ├── mime.cpp │ │ ├── mime.h │ │ ├── nsprpolladapter.h │ │ ├── ntmagnus.cpp │ │ ├── nvpairs.cpp │ │ ├── nvpairs.h │ │ ├── polladapter.h │ │ ├── pollarray.cpp │ │ ├── pollarray.h │ │ ├── pollmanager.cpp │ │ ├── pollmanager.h │ │ ├── processstatsbase.h │ │ ├── scheduler.cpp │ │ ├── scheduler.h │ │ ├── servername.cpp │ │ ├── servername.h │ │ ├── smartheapinit.cpp │ │ ├── smartheapinit.h │ │ ├── solariskernelstats.cpp │ │ ├── solariskernelstats.h │ │ ├── solarisprocessstats.cpp │ │ ├── solarisprocessstats.h │ │ ├── statsavg.cpp │ │ ├── statsavg.h │ │ ├── statsbkupmgr.cpp │ │ ├── statsbkupmgr.h │ │ ├── statsmanager.cpp │ │ ├── statsmanager.h │ │ ├── statsmessage.cpp │ │ ├── statsmessage.h │ │ ├── statsnodes.cpp │ │ ├── statsnodes.h │ │ ├── statssession.cpp │ │ ├── statssession.h │ │ ├── statsutil.cpp │ │ ├── statsutil.h │ │ ├── stdhandles.cpp │ │ ├── stdhandles.h │ │ ├── throttling.cpp │ │ ├── throttling.h │ │ ├── updatecrl.cpp │ │ ├── updatecrl.h │ │ ├── uxpolladapter.cpp │ │ ├── uxpolladapter.h │ │ ├── vsconf.cpp │ │ ├── vsconf.h │ │ ├── vsmanager.cpp │ │ └── vsmanager.h │ ├── httpparser │ │ ├── Makefile │ │ ├── httpparser.cpp │ │ └── httpparser.h │ ├── i18n.h │ ├── ldaputil │ │ ├── LdapDNList.cpp │ │ ├── LdapDNList.h │ │ ├── LdapEntry.cpp │ │ ├── LdapEntry.h │ │ ├── LdapOps.cpp │ │ ├── LdapSearchResult.cpp │ │ ├── LdapSearchResult.h │ │ ├── LdapServerSet.cpp │ │ ├── LdapServerSet.h │ │ ├── LdapSession.cpp │ │ ├── LdapSession.h │ │ ├── LdapSessionCommon.h │ │ ├── LdapSessionPool.cpp │ │ ├── LdapSessionPool.h │ │ ├── LdapSessionTest.cpp │ │ ├── LdapValues.cpp │ │ ├── LdapValues.h │ │ ├── LinkedList.cpp │ │ ├── LinkedList.hh │ │ ├── Makefile │ │ ├── cert.cpp │ │ ├── certmap.conf │ │ ├── certmap.cpp │ │ ├── certmap.h │ │ ├── dbconf.cpp │ │ ├── dbconf.h │ │ ├── dbtldaputil.h │ │ ├── errors.cpp │ │ ├── errors.h │ │ ├── extcmap.h │ │ ├── ldaputil.cpp │ │ ├── ldaputil.h │ │ ├── ldaputili.h │ │ ├── ldaputilobjs.mk │ │ ├── list.h │ │ └── vtable.cpp │ ├── libaccess │ │ ├── FileRealm.cpp │ │ ├── FileRealm.h │ │ ├── FileRealmUser.cpp │ │ ├── FileRealmUser.h │ │ ├── LdapRealm.cpp │ │ ├── LdapRealm.h │ │ ├── Makefile │ │ ├── WSRealm.cpp │ │ ├── WSRealm.h │ │ ├── accessobjs.mk │ │ ├── acl.h │ │ ├── acl.tab.cpp │ │ ├── acl.tab.h │ │ ├── acl.yy.cpp │ │ ├── aclacl.cpp │ │ ├── aclcache.cpp │ │ ├── aclcache.h │ │ ├── acldb.cpp │ │ ├── acldbtype.cpp │ │ ├── aclerror.cpp │ │ ├── aclerror.h │ │ ├── aclexpr.cpp │ │ ├── aclflush.cpp │ │ ├── aclgetattr.cpp │ │ ├── aclglobal.h │ │ ├── aclinit.cpp │ │ ├── acllas.cpp │ │ ├── acllist.cpp │ │ ├── aclmethod.cpp │ │ ├── aclpath.cpp │ │ ├── aclpriv.h │ │ ├── aclproto.h │ │ ├── aclscan.h │ │ ├── aclscan.l │ │ ├── aclspace.cpp │ │ ├── acltext.y │ │ ├── acltools.cpp │ │ ├── aclutil.cpp │ │ ├── cryptwrapper.cpp │ │ ├── cryptwrapper.h │ │ ├── dacl.cpp │ │ ├── dacl.h │ │ ├── dbtlibaccess.h │ │ ├── digest.cpp │ │ ├── digest.h │ │ ├── fileacl.cpp │ │ ├── fileacl.h │ │ ├── genacl.cpp │ │ ├── genacl.h │ │ ├── gssapi.cpp │ │ ├── gssapi.h │ │ ├── lascipher.cpp │ │ ├── lasdns.cpp │ │ ├── lasgroup.cpp │ │ ├── lasip.cpp │ │ ├── lasowner.cpp │ │ ├── lasrole.cpp │ │ ├── lasssl.cpp │ │ ├── lastod.cpp │ │ ├── lasuser.cpp │ │ ├── ldapacl.cpp │ │ ├── ldapacl.h │ │ ├── nativeauth.cpp │ │ ├── nsauth.h │ │ ├── nseframe.cpp │ │ ├── nserror.h │ │ ├── nullacl.cpp │ │ ├── nullacl.h │ │ ├── oneeval.cpp │ │ ├── pamacl.cpp │ │ ├── pamacl.h │ │ ├── pamauth.c │ │ ├── pamauth.h │ │ ├── parse.h │ │ ├── symbols.cpp │ │ ├── symbols.h │ │ ├── usrcache.cpp │ │ ├── usrcache.h │ │ └── yy-sed │ ├── libadmin │ │ ├── Makefile │ │ ├── adminobjs.mk │ │ ├── admserv.cpp │ │ ├── code.cpp │ │ ├── cron_conf.cpp │ │ ├── cronutil.h │ │ ├── get_file_paths.cpp │ │ ├── get_file_paths.h │ │ ├── httpcode.h │ │ ├── libadmin.h │ │ ├── password.cpp │ │ ├── pw.h │ │ ├── resource.h │ │ ├── resource_icu.c │ │ └── strlist.cpp │ ├── libcrypt │ │ ├── Makefile │ │ └── crypt.c │ ├── libdrcache │ │ ├── Makefile │ │ ├── drcache.cpp │ │ ├── drcache.h │ │ ├── drcacheobjs.mk │ │ └── drnsapi.cpp │ ├── libmessages │ │ ├── Makefile │ │ ├── messages.c │ │ └── messages.mc │ ├── libproxy │ │ ├── Makefile │ │ ├── channel.cpp │ │ ├── channel.h │ │ ├── dbtlibproxy.h │ │ ├── host_dns_cache.cpp │ │ ├── host_dns_cache.h │ │ ├── httpclient.cpp │ │ ├── httpclient.h │ │ ├── proxyerror.cpp │ │ ├── proxyerror.h │ │ ├── proxyobjs.mk │ │ ├── putils.cpp │ │ ├── reverse.cpp │ │ ├── reverse.h │ │ ├── route.cpp │ │ ├── route.h │ │ ├── stuff.cpp │ │ ├── stuff.h │ │ ├── url.cpp │ │ ├── url.h │ │ └── util.h │ ├── libsed │ │ ├── Makefile │ │ ├── dbtlibsed.h │ │ ├── libsed.h │ │ ├── regexp.c │ │ ├── regexp.h │ │ ├── sed.h │ │ ├── sed0.c │ │ └── sed1.c │ ├── libserverxml │ │ ├── Makefile │ │ ├── NSPRInputSource.cpp │ │ ├── NSPRInputSource.h │ │ ├── ServerXML.cpp │ │ ├── ServerXML.h │ │ ├── ServerXMLException.h │ │ ├── ServerXMLExceptionContext.cpp │ │ ├── ServerXMLExceptionContext.h │ │ ├── ServerXMLParser.cpp │ │ ├── ServerXMLParser.h │ │ ├── dbtlibserverxml.h │ │ └── makefile.XSD2Cpp │ ├── libsi18n │ │ ├── Makefile │ │ ├── dblink.c │ │ ├── getlang.cpp │ │ ├── getstrdb.cpp │ │ ├── getstrmem.cpp │ │ ├── gshttpd.h │ │ ├── langpath.cpp │ │ ├── liblibsi18n.spec │ │ ├── liblibsi18n.versions │ │ ├── makefile.step2 │ │ ├── makstrdb.c │ │ ├── parselang.cpp │ │ ├── webserv_msg_de.txt │ │ ├── webserv_msg_en.txt │ │ ├── webserv_msg_es.txt │ │ ├── webserv_msg_fr.txt │ │ ├── webserv_msg_ja.txt │ │ ├── webserv_msg_ko.txt │ │ ├── webserv_msg_zh_cn.txt │ │ └── webserv_msg_zh_tw.txt │ ├── netsite.h │ ├── plugins │ │ ├── Makefile │ │ ├── fastcgi │ │ │ ├── Makefile │ │ │ ├── Makefile.fastcgistub │ │ │ ├── baserole.cpp │ │ │ ├── circularbuffer.h │ │ │ ├── constants.h │ │ │ ├── dbtfastcgi.h │ │ │ ├── endpoint.h │ │ │ ├── errortypes.cpp │ │ │ ├── errortypes.h │ │ │ ├── fastcgi.h │ │ │ ├── fastcgii18n.cpp │ │ │ ├── fastcgii18n.h │ │ │ ├── fastcgistub.cpp │ │ │ ├── fastcgistub.h │ │ │ ├── fcgiparser.cpp │ │ │ ├── fcgiparser.h │ │ │ ├── fcgiprocess.cpp │ │ │ ├── fcgiprocess.h │ │ │ ├── fcgirequest.cpp │ │ │ ├── fcgirequest.h │ │ │ ├── fcgirole.cpp │ │ │ ├── fcgirole.h │ │ │ ├── libfastcgi.spec │ │ │ ├── libfastcgi.versions │ │ │ ├── nsapifastcgi.cpp │ │ │ ├── nsapifastcgi.h │ │ │ ├── server.cpp │ │ │ ├── server.h │ │ │ ├── serverchannel.cpp │ │ │ ├── serverchannel.h │ │ │ ├── serverconfig.cpp │ │ │ ├── serverconfig.h │ │ │ ├── servermanager.cpp │ │ │ ├── servermanager.h │ │ │ ├── stubexec.cpp │ │ │ ├── stubexec.h │ │ │ ├── util.cpp │ │ │ └── util.h │ │ ├── htaccess │ │ │ ├── Makefile │ │ │ ├── htaccess.h │ │ │ ├── htaccess.spec │ │ │ ├── htaccess.versions │ │ │ ├── htpasswd.c │ │ │ ├── htpasswd.txt │ │ │ ├── http_access.cpp │ │ │ ├── http_auth.cpp │ │ │ ├── http_config.cpp │ │ │ ├── http_register.cpp │ │ │ ├── httpd.h │ │ │ ├── list.cpp │ │ │ ├── main.cpp │ │ │ └── util.cpp │ │ ├── java │ │ │ ├── HashUtil.cpp │ │ │ ├── HashUtil.h │ │ │ ├── JVMControl.cpp │ │ │ ├── JVMControl.h │ │ │ ├── JavaStatsManager.cpp │ │ │ ├── JavaStatsManager.h │ │ │ ├── LockManager.cpp │ │ │ ├── LockManager.h │ │ │ ├── MMapSession.cpp │ │ │ ├── MMapSessionManager.cpp │ │ │ ├── Makefile │ │ │ ├── MemMapFile.cpp │ │ │ ├── MemMapFile.h │ │ │ ├── MemMapSessionManager.cpp │ │ │ ├── MemMapSessionManager.h │ │ │ ├── NSAPIConnector.cpp │ │ │ ├── NSAPIConnector.h │ │ │ ├── NSAPIRunner.cpp │ │ │ ├── NSAPIRunner.h │ │ │ ├── NSAPIVirtualServer.cpp │ │ │ ├── NSAPIVirtualServer.h │ │ │ ├── NSJavaI18N.cpp │ │ │ ├── NSJavaI18N.h │ │ │ ├── NSJavaUtil.cpp │ │ │ ├── NSJavaUtil.h │ │ │ ├── NssStore.cpp │ │ │ ├── Pkcs12Util.cpp │ │ │ ├── Pkcs12Util.h │ │ │ ├── ServletResource.cpp │ │ │ ├── ServletResource.h │ │ │ ├── WebModule.cpp │ │ │ ├── WebModule.h │ │ │ ├── j2ee.cpp │ │ │ ├── j2eefilter.cpp │ │ │ ├── j2eefilter.h │ │ │ ├── j2eeplugin.properties │ │ │ ├── jvm.c │ │ │ ├── libj2eeplugin.spec │ │ │ ├── libj2eeplugin.versions │ │ │ ├── libjvm.spec │ │ │ └── libjvm.versions │ │ └── shtml │ │ │ ├── Makefile │ │ │ ├── libShtml.spec │ │ │ └── libShtml.versions │ ├── public │ │ ├── Makefile │ │ ├── base │ │ │ ├── Makefile │ │ │ ├── buffer.h │ │ │ ├── cinfo.h │ │ │ ├── crit.h │ │ │ ├── daemon.h │ │ │ ├── ereport.h │ │ │ ├── file.h │ │ │ ├── net.h │ │ │ ├── pblock.h │ │ │ ├── pool.h │ │ │ ├── regexp.h │ │ │ ├── sem.h │ │ │ ├── session.h │ │ │ ├── shexp.h │ │ │ ├── shmem.h │ │ │ ├── systems.h │ │ │ ├── systhr.h │ │ │ └── util.h │ │ ├── drnsapi.h │ │ ├── frame │ │ │ ├── Makefile │ │ │ ├── conf.h │ │ │ ├── func.h │ │ │ ├── http.h │ │ │ ├── log.h │ │ │ ├── object.h │ │ │ ├── objset.h │ │ │ ├── protocol.h │ │ │ └── req.h │ │ ├── iwsstats.h │ │ ├── netsite.h │ │ ├── nsacl │ │ │ ├── Makefile │ │ │ ├── aclapi.h │ │ │ ├── acldef.h │ │ │ ├── nserrdef.h │ │ │ └── plistdef.h │ │ ├── nsapi.h │ │ └── shtml │ │ │ ├── Makefile │ │ │ └── shtml_public.h │ ├── safs │ │ ├── CExecReqPipe.cpp │ │ ├── CExecReqPipe.h │ │ ├── Cgistub.c │ │ ├── Cgistub.h │ │ ├── ChildExec.cpp │ │ ├── ChildExec.h │ │ ├── Makefile │ │ ├── Makefile.cgistub │ │ ├── acl.h │ │ ├── aclinit.h │ │ ├── aclsafs.cpp │ │ ├── addlog.cpp │ │ ├── addlog.h │ │ ├── auth.cpp │ │ ├── auth.h │ │ ├── cgi.cpp │ │ ├── cgi.h │ │ ├── child.cpp │ │ ├── child.h │ │ ├── clauth.cpp │ │ ├── clauth.h │ │ ├── cond.cpp │ │ ├── cond.h │ │ ├── control.cpp │ │ ├── control.h │ │ ├── dbtsafs.h │ │ ├── debug.cpp │ │ ├── debug.h │ │ ├── deprecated.cpp │ │ ├── deprecated.h │ │ ├── digest.cpp │ │ ├── digest.h │ │ ├── dl.cpp │ │ ├── dl.h │ │ ├── dump.cpp │ │ ├── dump.h │ │ ├── errorbong.cpp │ │ ├── errorbong.h │ │ ├── favicon.cpp │ │ ├── favicon.h │ │ ├── filtersafs.cpp │ │ ├── filtersafs.h │ │ ├── flexlog.cpp │ │ ├── flexlog.h │ │ ├── flexlogcommon.h │ │ ├── headerfooter.cpp │ │ ├── headerfooter.h │ │ ├── httpcompression.cpp │ │ ├── httpcompression.h │ │ ├── index.cpp │ │ ├── index.h │ │ ├── init.cpp │ │ ├── init.h │ │ ├── init_fn.cpp │ │ ├── init_fn.h │ │ ├── logsafs.cpp │ │ ├── logsafs.h │ │ ├── nsapicachesaf.cpp │ │ ├── nsapicachesaf.h │ │ ├── nsconfig.c │ │ ├── nsfcsafs.cpp │ │ ├── nsfcsafs.h │ │ ├── nstpsafs.cpp │ │ ├── nstpsafs.h │ │ ├── ntconsafs.cpp │ │ ├── ntconsafs.h │ │ ├── ntrans.cpp │ │ ├── ntrans.h │ │ ├── ntwincgi.cpp │ │ ├── otype.cpp │ │ ├── otype.h │ │ ├── pcheck.cpp │ │ ├── pcheck.h │ │ ├── perf.cpp │ │ ├── perf.h │ │ ├── poolsafs.cpp │ │ ├── poolsafs.h │ │ ├── preencrypted.cpp │ │ ├── preencrypted.h │ │ ├── qos.cpp │ │ ├── qos.h │ │ ├── reconfig.cpp │ │ ├── reconfig.h │ │ ├── reqlimit.cpp │ │ ├── reqlimit.h │ │ ├── safsobjs.mk │ │ ├── sed.cpp │ │ ├── sed.h │ │ ├── service.cpp │ │ ├── service.h │ │ ├── trace.cpp │ │ ├── trace.h │ │ ├── upload.cpp │ │ ├── upload.h │ │ ├── var.cpp │ │ └── var.h │ ├── shtml │ │ ├── ConfigHandler.cpp │ │ ├── ConfigHandler.h │ │ ├── DefineHandler.h │ │ ├── EchoHandler.cpp │ │ ├── EchoHandler.h │ │ ├── ExecHandler.cpp │ │ ├── ExecHandler.h │ │ ├── FileInfoHandler.cpp │ │ ├── FileInfoHandler.h │ │ ├── HeaderHandler.h │ │ ├── IncludeHandler.cpp │ │ ├── IncludeHandler.h │ │ ├── Makefile │ │ ├── NSBaseTagHandler.cpp │ │ ├── NSBaseTagHandler.h │ │ ├── NSPageState.cpp │ │ ├── NSPageState.h │ │ ├── NSTagHandlers.cpp │ │ ├── NSTagHandlers.h │ │ ├── OutputBuff.h │ │ ├── PrintenvHandler.cpp │ │ ├── PrintenvHandler.h │ │ ├── RedirectHandler.h │ │ ├── ServletHandler.cpp │ │ ├── ServletHandler.h │ │ ├── ShtmlCache.cpp │ │ ├── ShtmlCache.h │ │ ├── ShtmlConfig.cpp │ │ ├── ShtmlConfig.h │ │ ├── ShtmlDefines.h │ │ ├── ShtmlElement.h │ │ ├── ShtmlElementList.cpp │ │ ├── ShtmlElementList.h │ │ ├── ShtmlHelperFuncs.cpp │ │ ├── ShtmlHelperFuncs.h │ │ ├── ShtmlPage.cpp │ │ ├── ShtmlPage.h │ │ ├── ShtmlPageFnList.h │ │ ├── ShtmlPlugin.cpp │ │ ├── ShtmlRedirectElement.h │ │ ├── ShtmlSaf.cpp │ │ ├── ShtmlSaf.h │ │ ├── ShtmlTagParser.cpp │ │ ├── ShtmlTagParser.h │ │ ├── ShtmlTagRegistry.cpp │ │ ├── ShtmlTagRegistry.h │ │ ├── TextHandler.cpp │ │ ├── TextHandler.h │ │ ├── dbtShtml.h │ │ └── shtmlobjs.mk │ ├── utils │ │ ├── Makefile │ │ ├── ServerControl.cpp │ │ ├── ServerControl.h │ │ ├── ServerControlCLI.cpp │ │ ├── ServerControlHelper.cpp │ │ ├── ServerControlHelper.h │ │ ├── UnixServerControl.cpp │ │ ├── UnixServerControl.h │ │ ├── filedb.cpp │ │ ├── makefile.set2 │ │ ├── parsexml.cpp │ │ └── true │ │ │ ├── Makefile │ │ │ └── true.c │ ├── uxwdog │ │ ├── Makefile │ │ ├── watchdog.cpp │ │ ├── wdbind.c │ │ ├── wdbind.h │ │ ├── wdconf.cpp │ │ ├── wdconf.h │ │ ├── wdlog.cpp │ │ ├── wdlog.h │ │ ├── wdlsmgr.cpp │ │ ├── wdlsmgr.h │ │ ├── wdpwd.cpp │ │ ├── wdreq.cpp │ │ ├── wdsignals.cpp │ │ ├── wdsignals.h │ │ ├── wdsmf.cpp │ │ ├── wdsmf.h │ │ ├── wdutil.cpp │ │ └── wdutil.h │ └── webservd │ │ ├── Makefile │ │ ├── dbthttpdsrc.h │ │ ├── key.ico │ │ ├── libns-httpd40.spec │ │ ├── libns-httpd40.versions │ │ ├── main.cpp │ │ ├── nsapi30_dll.cpp │ │ ├── nsapi35_dll.cpp │ │ ├── nsapi36_dll.cpp │ │ ├── ntmain.cpp │ │ ├── password.rc │ │ ├── resource.h │ │ └── smartheapdummy.cpp ├── support │ ├── Cld │ │ ├── Makefile │ │ ├── libCld.c │ │ ├── libCld.spec │ │ └── libCld.versions │ ├── Makefile │ ├── NsprWrap │ │ ├── ConditionVar.h │ │ ├── CriticalSection.h │ │ ├── IntervalTimer.cpp │ │ ├── IntervalTimer.h │ │ ├── LongLong.cpp │ │ ├── LongLong.h │ │ ├── Makefile │ │ ├── NsprBuffer.cpp │ │ ├── NsprBuffer.h │ │ ├── NsprDescriptor.cpp │ │ ├── NsprDescriptor.h │ │ ├── NsprError.cpp │ │ ├── NsprError.h │ │ ├── NsprSink.cpp │ │ ├── NsprSink.h │ │ ├── NsprThunk.cpp │ │ ├── NsprThunk.rc │ │ ├── PlcThunk.cpp │ │ ├── PlcThunk.rc │ │ ├── ProcessLock.cpp │ │ ├── ProcessLock.h │ │ ├── ReadWriteLock.cpp │ │ ├── ReadWriteLock.h │ │ ├── Sleeper.cpp │ │ ├── Sleeper.h │ │ ├── Thread.cpp │ │ ├── Thread.h │ │ ├── ThreadSafe.cpp │ │ ├── ThreadSafe.h │ │ ├── atomic.cpp │ │ ├── atomic.h │ │ ├── countingsemaphore.cpp │ │ ├── countingsemaphore.h │ │ ├── libnsprwrap.spec │ │ └── libnsprwrap.versions │ ├── ares │ │ ├── Makefile │ │ ├── README.ipv6 │ │ ├── arapi.cpp │ │ ├── arapi.h │ │ ├── arlib.cpp │ │ ├── arlib.h │ │ ├── dnstest.cpp │ │ ├── libares3.spec │ │ └── libares3.versions │ ├── filecache │ │ ├── Makefile │ │ ├── alloc.cpp │ │ ├── filecopy.cpp │ │ ├── fileio.cpp │ │ ├── filename.cpp │ │ ├── init.cpp │ │ ├── instance.cpp │ │ ├── libnsfc.spec │ │ ├── libnsfc.versions │ │ ├── md_unix.cpp │ │ ├── md_unix.h │ │ ├── md_win32.cpp │ │ ├── md_win32.h │ │ ├── nsfc.h │ │ └── nsfc_pvt.h │ ├── libdbm │ │ ├── Makefile │ │ ├── cdefs.h │ │ ├── db.c │ │ ├── extern.h │ │ ├── h_bigkey.c │ │ ├── h_func.c │ │ ├── h_lock.c │ │ ├── h_log2.c │ │ ├── h_page.c │ │ ├── hash.c │ │ ├── hash.h │ │ ├── hash_buf.c │ │ ├── hash_statistics.h │ │ ├── hsearch.c │ │ ├── hsearch.h │ │ ├── liblibdbm.spec │ │ ├── liblibdbm.versions │ │ ├── makefile.win │ │ ├── mcom_db.h │ │ ├── memmove.c │ │ ├── mktemp.c │ │ ├── mpool.h │ │ ├── ndbm.c │ │ ├── ndbm.h │ │ ├── nsres.c │ │ ├── nsres.h │ │ ├── page.h │ │ ├── queue.h │ │ ├── search.h │ │ ├── snprintf.c │ │ └── strerror.c │ ├── libxsd2cpp │ │ ├── Bool.cpp │ │ ├── Bool.h │ │ ├── CString.cpp │ │ ├── CString.h │ │ ├── Complex.cpp │ │ ├── Complex.h │ │ ├── Element.h │ │ ├── Integer.cpp │ │ ├── Integer.h │ │ ├── IntervalTime.cpp │ │ ├── IntervalTime.h │ │ ├── Makefile │ │ ├── Simple.h │ │ ├── String.cpp │ │ ├── String.h │ │ ├── ValidationException.h │ │ └── libxsd2cpp.h │ ├── support │ │ ├── BaseCache.cpp │ │ ├── BaseCache.h │ │ ├── CacheConfig.cpp │ │ ├── CacheConfig.h │ │ ├── CacheStats.h │ │ ├── DynBuf.cpp │ │ ├── DynBuf.h │ │ ├── EreportableException.cpp │ │ ├── EreportableException.h │ │ ├── GenericList.cpp │ │ ├── GenericList.h │ │ ├── GenericQueue.h │ │ ├── GenericVector.cpp │ │ ├── GenericVector.h │ │ ├── LinkedList.hh │ │ ├── Makefile │ │ ├── NSColString.h │ │ ├── NSString.cpp │ │ ├── NSString.h │ │ ├── NSTokenizer.cpp │ │ ├── NSTokenizer.h │ │ ├── PSQueue.h │ │ ├── PseudoRandomGenerator.cpp │ │ ├── PseudoRandomGenerator.h │ │ ├── SimpleHash.cpp │ │ ├── SimpleHash.h │ │ ├── libsupport.spec │ │ ├── libsupport.versions │ │ ├── nsmalloc.cpp │ │ ├── nsmalloc.h │ │ ├── nspool.cpp │ │ ├── nspool.h │ │ ├── nsshexp.cpp │ │ ├── nsshexp.h │ │ ├── objectlist.h │ │ ├── prime.h │ │ ├── stringvalue.h │ │ ├── support_common.h │ │ ├── urimapper.cpp │ │ ├── urimapper.h │ │ ├── xmloutput.cpp │ │ └── xmloutput.h │ ├── threadpool │ │ ├── Makefile │ │ ├── libnstp.spec │ │ ├── libnstp.versions │ │ ├── nstp.cpp │ │ ├── nstp.h │ │ └── nstp_pvt.h │ ├── time │ │ ├── Makefile │ │ ├── clockthread.cpp │ │ ├── clockthread.h │ │ ├── compare.cpp │ │ ├── libnstime.spec │ │ ├── libnstime.versions │ │ ├── localgmtime.cpp │ │ ├── nstime.cpp │ │ ├── nstime.h │ │ └── xp_time.cpp │ └── xp │ │ ├── Makefile │ │ ├── _xpatomic_gcc.h │ │ ├── _xpatomic_hppa.h │ │ ├── _xpatomic_locked.h │ │ ├── _xpatomic_msvc.h │ │ ├── _xpatomic_omp.h │ │ ├── _xpatomic_pr.h │ │ ├── _xpatomic_sun.h │ │ ├── _xpsynch_pr.h │ │ ├── _xpsynch_sunos.h │ │ ├── amd64 │ │ └── atomic.S │ │ ├── atomic_asm_weak.h │ │ ├── i386 │ │ └── atomic.S │ │ ├── sparc │ │ └── atomic.S │ │ ├── sparcv9 │ │ └── atomic.S │ │ ├── xp.h │ │ ├── xpatomic.cpp │ │ ├── xpatomic.h │ │ ├── xpplatform.h │ │ ├── xpsynch.h │ │ ├── xptests.cpp │ │ ├── xptime.h │ │ ├── xptypes.h │ │ ├── xpunit.cpp │ │ └── xpunit.h └── tools │ ├── Makefile │ ├── bin2c │ ├── Makefile │ └── bin2c.c │ ├── httptest │ ├── Makefile │ ├── basic.cpp │ ├── dynamic.cpp │ ├── dynamicmain.cpp │ ├── engine.cpp │ ├── engine.h │ ├── http.cpp │ ├── http.h │ ├── http11.cpp │ ├── log.cpp │ ├── log.h │ ├── main.cpp │ ├── negative.cpp │ ├── nscperror.cpp │ ├── ptrlist.h │ ├── regex_entry.cpp │ ├── regex_entry.h │ ├── regex_list.cpp │ ├── regex_list.h │ ├── regex_scrubber.cpp │ ├── regex_scrubber.h │ ├── regex_string.cpp │ ├── regex_string.h │ ├── request.cpp │ ├── request.h │ ├── response.cpp │ ├── response.h │ ├── test1.cpp │ ├── tests.cpp │ ├── tests.h │ ├── testthread.h │ ├── utils.cpp │ └── utils.h │ └── txt2c │ ├── Makefile │ └── txt2c.c ├── templates ├── Makefile ├── Makefile.tarball ├── README ├── bin │ ├── reconfig.template │ ├── restart.template │ ├── rotate.template │ ├── startserv.template │ └── stopserv.template ├── config │ ├── certmap.conf.template │ ├── default.acl.template │ ├── keyfile.template │ ├── magnus.conf.template │ ├── mime.types.template │ ├── obj.conf.template │ └── server.xml.template ├── create-instance.template ├── docs │ └── index.html ├── icons │ ├── back.png │ ├── binary.png │ ├── blank.png │ ├── c.png │ ├── image.png │ ├── menu.png │ ├── movie.png │ ├── sound.png │ ├── text.png │ └── unknown.png ├── install-bin │ └── binlog.template ├── lib │ └── wsenv.template ├── post-install └── replace_vars.pl └── test └── Makefile /.gitignore: -------------------------------------------------------------------------------- 1 | work/ 2 | Linux_debian_6_i686_32_OPT/ 3 | Linux_debian_7_x86_64_32_OPT/ 4 | Linux_debian_7_x86_64_64_OPT/ 5 | SunOS_Sun_5.10_sun4u_32_OPT/ 6 | SunOS_Sun_5.10_sun4u_64_OPT/ 7 | SunOS_Sun_5.10_i86pc_32_OPT/ 8 | SunOS_Sun_5.10_i86pc_64_OPT/ 9 | SunOS_Sun_5.10_sun4v_64_OPT/ 10 | SunOS_Sun_5.10_sun4v_32_OPT/ 11 | Linux_redhat_5_i686_32_OPT/ 12 | SunOS_OpenIndiana_5.11_i86pc_32_OPT/ 13 | -------------------------------------------------------------------------------- /ChangeLog: -------------------------------------------------------------------------------- 1 | 2 | 2015-10-14 Jyri J. Virkki 3 | 4 | * version 0.3 5 | 6 | Build support for debian 7 (64bit) and sun4v. 7 | 8 | Minimal test. 9 | 10 | Enable PAM and GSSAPI (Kerberos) authentication libraries 11 | on Solaris. 12 | 13 | 14 | 2012-10-17 Jyri J. Virkki 15 | 16 | * version 0.2 17 | 18 | No functionality changes. 19 | 20 | Some refactoring of build rules and defines to remove some of 21 | the platform ifdef complexity. 22 | 23 | Included build scripts to help generate sbc tree, a pre-requisite 24 | for anyone interested in building the code. It should now be 25 | reasonable (maybe not completely easy) for others to build this 26 | (at least on Debian and Solaris 10). 27 | 28 | Added Solaris 10 SPARC build. 29 | 30 | 31 | 2011-03-08 Jyri J. Virkki 32 | 33 | * version 0.1 34 | 35 | Build can create a tarball. 36 | 37 | Added rudimentary installation support for tarball-based install. 38 | 39 | Built on Debian Linux and Solaris 10 x86 (32bit) only for now. 40 | 41 | Removed Sun branding 42 | 43 | 44 | 2011-02-22 Jyri J. Virkki 45 | 46 | * Forked the code from 47 | ssh://anon@hg.opensolaris.org/hg/webstack/webserver 48 | -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- 1 | THE BSD LICENSE 2 | 3 | Redistribution and use in source and binary forms, with or without 4 | modification, are permitted provided that the following conditions are met: 5 | 6 | Redistributions of source code must retain the above copyright notice, this 7 | list of conditions and the following disclaimer. 8 | Redistributions in binary form must reproduce the above copyright notice, 9 | this list of conditions and the following disclaimer in the documentation 10 | and/or other materials provided with the distribution. 11 | 12 | Neither the name of the nor the names of its contributors may be 13 | used to endorse or promote products derived from this software without 14 | specific prior written permission. 15 | 16 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 17 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 18 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 19 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 20 | OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 21 | EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 22 | PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 23 | OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 24 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 25 | OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 26 | ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | 28 | -------------------------------------------------------------------------------- /README: -------------------------------------------------------------------------------- 1 | 2 | These sources are a fork of the 'Open Web Server' code published by 3 | Sun Microsystems under the BSD license (see LICENSE.txt). 4 | 5 | Sun first open sourced the code in January 2009: 6 | 7 | https://blogs.oracle.com/dzm/entry/open_web_server_launched 8 | 9 | The last public update to the code by Sun happened in January 2010. 10 | It has been over a year now and there have been no more updates. At 11 | this point I suspect no further updates will be forthcoming, so I am 12 | forking the code to preserve it for posterity in case the upstream 13 | repository disappears. 14 | 15 | Look in the docs directory for more reading material. 16 | 17 | -------------------------------------------------------------------------------- /docs/BUILDING: -------------------------------------------------------------------------------- 1 | 2 | Set the environment variable SBC to point at the location of your 3 | shared components directory hierarchy. See $TOP/sbc/README for 4 | help in creating your SBC. 5 | 6 | After that, if you're lucky this will work: 7 | 8 | % make tarball 9 | 10 | You'll end up with ./work/heliod-*.tar.gz 11 | 12 | You need GNU make, so if it is called something else than 'make' on your 13 | system (such as gmake on Solaris), substitute accordingly. 14 | 15 | Extract the tarball somewhere convenient and follow the instructions 16 | in the top-level README for post-install steps. 17 | 18 | If you want to work with the code, you can also do: 19 | 20 | % make server install 21 | 22 | This will install the server under ./work/* instead of making a tarball, 23 | so you can run it right from the source workspace. You don't need to do 24 | any post-install steps in this scenario. 25 | 26 | 27 | If it didn't work, check the BUILDING_$PLATFORM file for more hints on 28 | building it on your platform. If there is no such file, you get to be 29 | the first to try to make it work there. 30 | 31 | In the long history of this codebase it has been commercially built on 32 | just about every platform of interest so it is highly portable. In fact, 33 | you'll find that the build system already includes support for many 34 | more platforms than those listed here, so it should be relatively easy. 35 | That said, some of those platforms have not been built in a long time 36 | so may require more work. 37 | 38 | -------------------------------------------------------------------------------- /docs/BUILDING_Debian: -------------------------------------------------------------------------------- 1 | 2 | First install the following packages: 3 | 4 | ant default-jdk g++ libicu-dev libnss3-dev libpcre3-dev libsasl2-dev 5 | libxalan110-dev zlib1g-dev 6 | -------------------------------------------------------------------------------- /docs/BUILDING_Solaris10x86: -------------------------------------------------------------------------------- 1 | 2 | Build-time requirements 3 | ======================= 4 | gmake 5 | ant 6 | Sun Studio compiler suite 7 | 8 | Make sure gmake and ant are in your PATH. 9 | The default location for the compiler is set to /opt/solstudio12.2 10 | 11 | -------------------------------------------------------------------------------- /make/defines_Linux_debian_6_i686_32.mk: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | # 4 | # Copyright 2012 Jyri J. Virkki. All rights reserved. 5 | # 6 | # THE BSD LICENSE 7 | # 8 | # Redistribution and use in source and binary forms, with or without 9 | # modification, are permitted provided that the following conditions are met: 10 | # 11 | # Redistributions of source code must retain the above copyright notice, this 12 | # list of conditions and the following disclaimer. 13 | # Redistributions in binary form must reproduce the above copyright notice, 14 | # this list of conditions and the following disclaimer in the documentation 15 | # and/or other materials provided with the distribution. 16 | # 17 | # Neither the name of the nor the names of its contributors may be 18 | # used to endorse or promote products derived from this software without 19 | # specific prior written permission. 20 | # 21 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | # OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | # 33 | 34 | 35 | include ${BUILD_ROOT}/make/defines_Linux.mk 36 | include ${BUILD_ROOT}/make/defines_Linux_debian.mk 37 | 38 | # Declare sbc components which need to be packaged for this platform: 39 | SBC_PUBLISH_LDAPSDK=1 40 | -------------------------------------------------------------------------------- /make/defines_SOLARIS.mk: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | # 4 | # Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | # 6 | # THE BSD LICENSE 7 | # 8 | # Redistribution and use in source and binary forms, with or without 9 | # modification, are permitted provided that the following conditions are met: 10 | # 11 | # Redistributions of source code must retain the above copyright notice, this 12 | # list of conditions and the following disclaimer. 13 | # Redistributions in binary form must reproduce the above copyright notice, 14 | # this list of conditions and the following disclaimer in the documentation 15 | # and/or other materials provided with the distribution. 16 | # 17 | # Neither the name of the nor the names of its contributors may be 18 | # used to endorse or promote products derived from this software without 19 | # specific prior written permission. 20 | # 21 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | # OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | # 33 | 34 | #PHP plugin available for this platform 35 | FEAT_PHP=1 36 | 37 | # Support for SMF Integration 38 | FEAT_SMF=1 39 | 40 | # SMF files needed for the distribution 41 | LIBSCF_SUFFIX=1 42 | SCF_LIB=scf_jni 43 | SMF_EXPORTS= $(addprefix $(LIBPREFIX), \ 44 | $(addsuffix .$(DYNAMIC_LIB_SUFFIX).$(LIBSCF_SUFFIX), \ 45 | $(SCF_LIB))) 46 | -------------------------------------------------------------------------------- /make/defines_SunOS_OpenIndiana_5.11_i86pc.mk: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | # 4 | # Copyright 2012 Jyri J. Virkki. All rights reserved. 5 | # 6 | # THE BSD LICENSE 7 | # 8 | # Redistribution and use in source and binary forms, with or without 9 | # modification, are permitted provided that the following conditions are met: 10 | # 11 | # Redistributions of source code must retain the above copyright notice, this 12 | # list of conditions and the following disclaimer. 13 | # Redistributions in binary form must reproduce the above copyright notice, 14 | # this list of conditions and the following disclaimer in the documentation 15 | # and/or other materials provided with the distribution. 16 | # 17 | # Neither the name of the nor the names of its contributors may be 18 | # used to endorse or promote products derived from this software without 19 | # specific prior written permission. 20 | # 21 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | # OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | # 33 | 34 | 35 | include ${BUILD_ROOT}/make/defines_SunOS_Sun_5.10.mk 36 | include ${BUILD_ROOT}/make/defines_SunOS.mk 37 | 38 | JNI_MD_SYSNAME = i386 39 | JNI_MD_SYSNAME64 = amd64 40 | -------------------------------------------------------------------------------- /make/defines_SunOS_Sun_5.10.mk: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | # 4 | # Copyright 2012 Jyri J. Virkki. All rights reserved. 5 | # 6 | # THE BSD LICENSE 7 | # 8 | # Redistribution and use in source and binary forms, with or without 9 | # modification, are permitted provided that the following conditions are met: 10 | # 11 | # Redistributions of source code must retain the above copyright notice, this 12 | # list of conditions and the following disclaimer. 13 | # Redistributions in binary form must reproduce the above copyright notice, 14 | # this list of conditions and the following disclaimer in the documentation 15 | # and/or other materials provided with the distribution. 16 | # 17 | # Neither the name of the nor the names of its contributors may be 18 | # used to endorse or promote products derived from this software without 19 | # specific prior written permission. 20 | # 21 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | # OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | # 33 | 34 | 35 | # Declare sbc components which need to be packaged for this platform: 36 | SBC_PUBLISH_LDAPSDK=1 37 | SBC_PUBLISH_XERCESC=1 38 | SBC_PUBLISH_XALANC=1 39 | SBC_PUBLISH_PCRE=1 40 | -------------------------------------------------------------------------------- /make/defines_SunOS_Sun_5.10_i86pc.mk: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | # 4 | # Copyright 2012 Jyri J. Virkki. All rights reserved. 5 | # 6 | # THE BSD LICENSE 7 | # 8 | # Redistribution and use in source and binary forms, with or without 9 | # modification, are permitted provided that the following conditions are met: 10 | # 11 | # Redistributions of source code must retain the above copyright notice, this 12 | # list of conditions and the following disclaimer. 13 | # Redistributions in binary form must reproduce the above copyright notice, 14 | # this list of conditions and the following disclaimer in the documentation 15 | # and/or other materials provided with the distribution. 16 | # 17 | # Neither the name of the nor the names of its contributors may be 18 | # used to endorse or promote products derived from this software without 19 | # specific prior written permission. 20 | # 21 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | # OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | # 33 | 34 | 35 | include ${BUILD_ROOT}/make/defines_SunOS_Sun_5.10.mk 36 | include ${BUILD_ROOT}/make/defines_SunOS.mk 37 | 38 | JNI_MD_SYSNAME = i386 39 | JNI_MD_SYSNAME64 = amd64 40 | -------------------------------------------------------------------------------- /make/defines_SunOS_Sun_5.10_sun4u.mk: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | # 4 | # Copyright 2012 Jyri J. Virkki. All rights reserved. 5 | # 6 | # THE BSD LICENSE 7 | # 8 | # Redistribution and use in source and binary forms, with or without 9 | # modification, are permitted provided that the following conditions are met: 10 | # 11 | # Redistributions of source code must retain the above copyright notice, this 12 | # list of conditions and the following disclaimer. 13 | # Redistributions in binary form must reproduce the above copyright notice, 14 | # this list of conditions and the following disclaimer in the documentation 15 | # and/or other materials provided with the distribution. 16 | # 17 | # Neither the name of the nor the names of its contributors may be 18 | # used to endorse or promote products derived from this software without 19 | # specific prior written permission. 20 | # 21 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | # OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | # 33 | 34 | 35 | include ${BUILD_ROOT}/make/defines_SunOS_Sun_5.10.mk 36 | include ${BUILD_ROOT}/make/defines_SunOS.mk 37 | 38 | SUNWSPRO_DIR = /opt/sunstudio12.1 39 | 40 | JNI_MD_SYSNAME = sparc 41 | JNI_MD_SYSNAME64 = sparcv9 42 | 43 | PLATFORM_LIB += demangle 44 | -------------------------------------------------------------------------------- /make/defines_SunOS_Sun_5.10_sun4v.mk: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | # 4 | # Copyright 2012 Jyri J. Virkki. All rights reserved. 5 | # 6 | # THE BSD LICENSE 7 | # 8 | # Redistribution and use in source and binary forms, with or without 9 | # modification, are permitted provided that the following conditions are met: 10 | # 11 | # Redistributions of source code must retain the above copyright notice, this 12 | # list of conditions and the following disclaimer. 13 | # Redistributions in binary form must reproduce the above copyright notice, 14 | # this list of conditions and the following disclaimer in the documentation 15 | # and/or other materials provided with the distribution. 16 | # 17 | # Neither the name of the nor the names of its contributors may be 18 | # used to endorse or promote products derived from this software without 19 | # specific prior written permission. 20 | # 21 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | # OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | # 33 | 34 | 35 | include ${BUILD_ROOT}/make/defines_SunOS_Sun_5.10.mk 36 | include ${BUILD_ROOT}/make/defines_SunOS.mk 37 | 38 | SUNWSPRO_DIR = /opt/sunstudio12.1 39 | 40 | JNI_MD_SYSNAME = sparc 41 | JNI_MD_SYSNAME64 = sparcv9 42 | 43 | PLATFORM_LIB += demangle 44 | -------------------------------------------------------------------------------- /make/rules.mk: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | # 4 | # Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | # 6 | # THE BSD LICENSE 7 | # 8 | # Redistribution and use in source and binary forms, with or without 9 | # modification, are permitted provided that the following conditions are met: 10 | # 11 | # Redistributions of source code must retain the above copyright notice, this 12 | # list of conditions and the following disclaimer. 13 | # Redistributions in binary form must reproduce the above copyright notice, 14 | # this list of conditions and the following disclaimer in the documentation 15 | # and/or other materials provided with the distribution. 16 | # 17 | # Neither the name of the nor the names of its contributors may be 18 | # used to endorse or promote products derived from this software without 19 | # specific prior written permission. 20 | # 21 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | # OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | # 33 | 34 | ifdef BUILD_JAVA 35 | include ${BUILD_ROOT}/make/rules_JAVA_JDK_1.$(JAVA_VERSION).mk 36 | else 37 | include ${BASE_RULES_NAME} 38 | endif 39 | -------------------------------------------------------------------------------- /sbc/README: -------------------------------------------------------------------------------- 1 | 2 | Building the web server requires several dependencies in $SBC. You 3 | need to set this environment variable before running the build. 4 | 5 | The Makefile here will help you generate your own SBC tree. Suggested 6 | practice is to set SBC so it points to a shared filesystems (e.g. NFS) 7 | which is available to all your hosts but it can just as well be local 8 | if you prefer. 9 | 10 | The binaries will be installed in directories which identify the 11 | platform so the same SBC root can used for all platforms. 12 | 13 | The source tarballs for these components are not included here. You 14 | can download a separate tarball containing them from the project web 15 | site. 16 | 17 | Bugs: 18 | ==== 19 | This has only been tested on the few platforms I built on. May not 20 | work on other variants. If you try elsewhere, please send patches 21 | to the project mailing list. 22 | 23 | The build pretends to make OPT (optimized) and DBG (debug) bits but 24 | the scripts don't really observe these and build the same bits for both. 25 | Needs to be fixed. 26 | 27 | 64bit builds are not complete. 28 | 29 | 30 | Steps: 31 | ====== 32 | 1. Set environment variable SBC to point at the root of the 33 | destination. Binaries will be installed under $SBC 34 | 35 | 2. Set environment variable SBC_SRC to point at the directory where 36 | the source tarballs live. 37 | 38 | 3. Run the appropriate target for your platform from the Makefile. 39 | 40 | 41 | 42 | 43 | ------------------------------------------------------------------------------- 44 | Why "SBC"? Originally within Netscape|iPlanet|Sun these components 45 | lived in /share/builds/components, commonly pronounced "SBC". 46 | -------------------------------------------------------------------------------- /sbc/xalan-c/patches/Makefile.incl.in.patch: -------------------------------------------------------------------------------- 1 | *** Makefile.incl.in.old Tue Oct 4 14:25:21 2005 2 | --- Makefile.incl.in.new Thu Feb 24 18:23:41 2011 3 | *************** 4 | *** 339,352 **** 5 | 6 | else 7 | 8 | ! PLATFORM_COMPILE_OPTIONS = -KPIC -mt -xs -ptr$(XSL_OBJ_DIR) -features=rtti -D${PLATFORM} -D_REENTRANT 9 | 10 | CC1 = $(CXX) $(CXXFLAGS) $(PLATFORM_COMPILE_OPTIONS) 11 | CC4 = $(CC) $(CFLAGS) -KPIC -mt -xs -D${PLATFORM} -D_REENTRANT 12 | ! MAKE_SHARED = ${CXX} -D${PLATFORM} -G -ptr$(XSL_OBJ_DIR) ${LDFLAGS} 13 | LINK_SONAME = -h ${SO_NAME} 14 | MAKE_SHARED_C = ${CC} -D${PLATFORM} -G ${LDFLAGS} 15 | ! LINK = ${CXX} -D${PLATFORM} -ptr$(XSL_OBJ_DIR) ${LDFLAGS} 16 | 17 | ALLLIBS = -mt ${LIBS} -L/usr/local/SUNWspro/lib -L/usr/ccs/lib -lc -lgen 18 | endif 19 | --- 339,352 ---- 20 | 21 | else 22 | 23 | ! PLATFORM_COMPILE_OPTIONS = -KPIC -mt -xs -features=rtti -D${PLATFORM} -D_REENTRANT 24 | 25 | CC1 = $(CXX) $(CXXFLAGS) $(PLATFORM_COMPILE_OPTIONS) 26 | CC4 = $(CC) $(CFLAGS) -KPIC -mt -xs -D${PLATFORM} -D_REENTRANT 27 | ! MAKE_SHARED = ${CXX} -D${PLATFORM} -G ${LDFLAGS} 28 | LINK_SONAME = -h ${SO_NAME} 29 | MAKE_SHARED_C = ${CC} -D${PLATFORM} -G ${LDFLAGS} 30 | ! LINK = ${CXX} -D${PLATFORM} ${LDFLAGS} 31 | 32 | ALLLIBS = -mt ${LIBS} -L/usr/local/SUNWspro/lib -L/usr/ccs/lib -lc -lgen 33 | endif 34 | *************** 35 | *** 360,366 **** 36 | export LD_LIBRARY_PATH_64 := $(XERCESCROOT)/lib:$(ICUROOT)/lib:$(LD_LIBRARY_PATH_64) 37 | endif 38 | 39 | ! MAKE_SHARED_LOC = ${CXX} -D${PLATFORM} -G -ptr$(ALL_OBJECTS_DIR) ${LDFLAGS} -h ${LOC_SONAME} 40 | 41 | endif 42 | 43 | --- 360,366 ---- 44 | export LD_LIBRARY_PATH_64 := $(XERCESCROOT)/lib:$(ICUROOT)/lib:$(LD_LIBRARY_PATH_64) 45 | endif 46 | 47 | ! MAKE_SHARED_LOC = ${CXX} -D${PLATFORM} -G ${LDFLAGS} -h ${LOC_SONAME} 48 | 49 | endif 50 | 51 | -------------------------------------------------------------------------------- /sbc/xalan-c/patches/runConfigure.patch: -------------------------------------------------------------------------------- 1 | *** runConfigure.original Tue Aug 16 16:48:26 2005 2 | --- runConfigure Thu Feb 24 18:22:31 2011 3 | *************** 4 | *** 387,394 **** 5 | if test $platform; then 6 | case $platform in 7 | solaris) 8 | ! bitstobuildDefines=" $bitstobuildDefines -xarch=v9 " 9 | ! bitstobuildLink=" -xarch=v9 " ;; 10 | aix) 11 | bitstobuildDefines=" $bitstobuildDefines -q64 -qwarn64 " ;; 12 | hp-11) 13 | --- 387,394 ---- 14 | if test $platform; then 15 | case $platform in 16 | solaris) 17 | ! bitstobuildDefines=" $bitstobuildDefines -m64 " 18 | ! bitstobuildLink=" -m64 " ;; 19 | aix) 20 | bitstobuildDefines=" $bitstobuildDefines -q64 -qwarn64 " ;; 21 | hp-11) 22 | -------------------------------------------------------------------------------- /sbc/xerces-c/patches/runConfigure.patch: -------------------------------------------------------------------------------- 1 | *** runConfigure.original Wed Sep 7 08:55:53 2005 2 | --- runConfigure Thu Feb 24 17:49:34 2011 3 | *************** 4 | *** 431,438 **** 5 | if test $platform; then 6 | case $platform in 7 | solaris) 8 | ! bitstobuildDefines=" $bitstobuildDefines -xarch=v9 " 9 | ! bitstobuildLink=" -xarch=v9 " ;; 10 | aix) 11 | bitstobuildDefines=" $bitstobuildDefines -q64 -qwarn64 " ;; 12 | irix) 13 | --- 431,438 ---- 14 | if test $platform; then 15 | case $platform in 16 | solaris) 17 | ! bitstobuildDefines=" $bitstobuildDefines -m64 " 18 | ! bitstobuildLink=" -m64 " ;; 19 | aix) 20 | bitstobuildDefines=" $bitstobuildDefines -q64 -qwarn64 " ;; 21 | irix) 22 | -------------------------------------------------------------------------------- /src/server/base/dbtbase.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/src/server/base/dbtbase.h -------------------------------------------------------------------------------- /src/server/base/keyword.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/src/server/base/keyword.cpp -------------------------------------------------------------------------------- /src/server/base/keyword.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/src/server/base/keyword.h -------------------------------------------------------------------------------- /src/server/base/keyword_pvt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/src/server/base/keyword_pvt.h -------------------------------------------------------------------------------- /src/server/base/libbase.versions: -------------------------------------------------------------------------------- 1 | sparc { 2 | SUNW_1.2; 3 | SUNW_1.1; 4 | SUNWprivate; 5 | } 6 | sparcv9 { 7 | SUNW_1.2; 8 | SUNW_1.1; 9 | SUNWprivate; 10 | } 11 | i386 { 12 | SUNW_1.2; 13 | SUNW_1.1; 14 | SUNWprivate; 15 | } 16 | -------------------------------------------------------------------------------- /src/server/base/nscperror.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef _LIB_BASE_NSCPERROR_H_ 35 | #define _LIB_BASE_NSCPERROR_H_ 36 | 37 | #ifdef __cplusplus 38 | extern "C" { 39 | #endif 40 | 41 | const char *nscperror_lookup(int err); 42 | 43 | #ifdef __cplusplus 44 | } 45 | #endif 46 | 47 | #endif /* _LIB_BASE_NSCPERROR_H */ 48 | -------------------------------------------------------------------------------- /src/server/extras/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | # 4 | # Copyright 2009 Sun Microsystems, Inc. All rights reserved. 5 | # 6 | # THE BSD LICENSE 7 | # 8 | # Redistribution and use in source and binary forms, with or without 9 | # modification, are permitted provided that the following conditions are met: 10 | # 11 | # Redistributions of source code must retain the above copyright notice, this 12 | # list of conditions and the following disclaimer. 13 | # Redistributions in binary form must reproduce the above copyright notice, 14 | # this list of conditions and the following disclaimer in the documentation 15 | # and/or other materials provided with the distribution. 16 | # 17 | # Neither the name of the nor the names of its contributors may be 18 | # used to endorse or promote products derived from this software without 19 | # specific prior written permission. 20 | # 21 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | # OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | # 33 | 34 | BUILD_ROOT=../../.. 35 | include $(BUILD_ROOT)/make/base.mk 36 | 37 | DIRS=binlog 38 | 39 | include $(BUILD_ROOT)/make/rules.mk 40 | -------------------------------------------------------------------------------- /src/server/frame/ErrMessages.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #if !defined (FRAME_ERROR_MESSAGES_HXX) 35 | #define FRAME_ERROR_MESSAGES_HXX 36 | 37 | #define ERR_EVIL_URI "file parameters can't contain ../, ./, or // must not be absolute paths" 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /src/server/frame/aclinit.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | 35 | #ifndef ACLINIT_FRAME_H 36 | #define ACLINIT_FRAME_H 37 | 38 | NSPR_BEGIN_EXTERN_C 39 | 40 | NSAPI_PUBLIC int ACL_InitFrame(void); 41 | NSAPI_PUBLIC int ACL_InitFramePostMagnus(void); 42 | 43 | NSPR_END_EXTERN_C 44 | 45 | #endif 46 | -------------------------------------------------------------------------------- /src/server/frame/dbtframe.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/src/server/frame/dbtframe.h -------------------------------------------------------------------------------- /src/server/frame/error.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef ERROR_H 35 | #define ERROR_H 36 | 37 | NSAPI_PUBLIC void error_set_content_headers(const char *headers); 38 | NSAPI_PUBLIC int error_report(Session *sn, Request *rq); 39 | NSAPI_PUBLIC void error_init(void); 40 | 41 | #endif /* ERROR_H */ 42 | -------------------------------------------------------------------------------- /src/server/frame/expr.tab.h.sed: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | # 4 | # Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | # 6 | # THE BSD LICENSE 7 | # 8 | # Redistribution and use in source and binary forms, with or without 9 | # modification, are permitted provided that the following conditions are met: 10 | # 11 | # Redistributions of source code must retain the above copyright notice, this 12 | # list of conditions and the following disclaimer. 13 | # Redistributions in binary form must reproduce the above copyright notice, 14 | # this list of conditions and the following disclaimer in the documentation 15 | # and/or other materials provided with the distribution. 16 | # 17 | # Neither the name of the nor the names of its contributors may be 18 | # used to endorse or promote products derived from this software without 19 | # specific prior written permission. 20 | # 21 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | # OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | # 33 | 34 | # Remove global variable declarations 35 | /^extern /d 36 | 37 | -------------------------------------------------------------------------------- /src/server/frame/otype_helper.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef _OTYPE_HELPER_H_ 35 | #define _OTYPE_HELPER_H_ 36 | 37 | #include "frame/req.h" 38 | #include "base/pblock.h" 39 | 40 | NSAPI_PUBLIC void OtypeHelerSetDefaults(Request* rq, pblock* pb); 41 | NSAPI_PUBLIC void OtypeHelperApplyDefaults(Request* rq); 42 | 43 | 44 | #endif /* _OTYPE_HELPER_H_ */ 45 | -------------------------------------------------------------------------------- /src/server/frame/protocol.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | /* 35 | * protocol.h: Switch which protocol we're speaking. 36 | * 37 | * Currently only HTTP, but expected to include MTP in the future. 38 | * 39 | * Rob McCool 40 | */ 41 | 42 | 43 | #if defined(MCC_HTTPD) || defined(MCC_PROXY) || defined(MCC_BATMAN) || defined(MCC_NEWS) 44 | #include "http.h" 45 | #endif 46 | -------------------------------------------------------------------------------- /src/server/frame/redirect.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | -------------------------------------------------------------------------------- /src/server/frame/servact.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | /* 35 | * servact.h: Define the server's actions, depending on what type of 36 | * server it is. 37 | * 38 | * Rob McCool 39 | */ 40 | 41 | 42 | #if defined(MCC_HTTPD) || defined(MCC_PROXY) || defined(MCC_NEWS) || defined(MCC_BATMAN) || defined(NS_MAIL) 43 | #include "httpact.h" 44 | #endif 45 | -------------------------------------------------------------------------------- /src/server/httpdaemon/Makefile: -------------------------------------------------------------------------------- 1 | # The libhttpdaemon library contains driver functions for accepting the 2 | # requests off the wire and dispatching them 3 | 4 | BUILD_ROOT=../../.. 5 | USE_NSPR=1 6 | USE_CLIENTLIBS=1 7 | USE_XERCESC=1 8 | USE_XALANC=1 9 | USE_SMARTHEAP=1 10 | 11 | # disable position independent code to improve execution speed 12 | NO_KPIC=1 13 | 14 | include ${BUILD_ROOT}/make/base.mk 15 | 16 | MODULE=LibHttpDaemon 17 | 18 | all:: 19 | 20 | LOCAL_INC+=-I.. -I../public 21 | LOCAL_INC+=-I../../support 22 | LOCAL_DEF+= -DBUILD_DLL 23 | LOCAL_DEF+= -DJNI_MD_SYSNAME=\"$(JNI_MD_SYSNAME)\" -DJNI_MD_SYSNAME64=\"$(JNI_MD_SYSNAME64)\" -DJNI_MD_LIBTYPE=\"$(JNI_MD_LIBTYPE)\" 24 | 25 | # pick up object list from here 26 | include daemonobjs.mk 27 | 28 | AR_TARGET=httpdaemon 29 | AR_OBJS=$(DAEMONOBJS) 30 | 31 | EXPORT_LIBRARIES=$(AR_TARGET) 32 | 33 | 34 | # this should always be last! 35 | include ${BUILD_ROOT}/make/rules.mk 36 | -------------------------------------------------------------------------------- /src/server/httpdaemon/dbthttpdaemon.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/src/server/httpdaemon/dbthttpdaemon.h -------------------------------------------------------------------------------- /src/server/httpdaemon/javastatsmanageritf.h: -------------------------------------------------------------------------------- 1 | #ifndef JAVASTATSMANAGERITF_H_ 2 | #define JAVASTATSMANAGERITF_H_ 3 | 4 | //----------------------------------------------------------------------------- 5 | // JavaStatsManagerItf 6 | // 7 | // Inteface class to access jvm related functionality in webserver core. As the 8 | // core is not linked with jvm. This interface helps core to make any jvm 9 | // related calls. This will grow with java side need of stats. 10 | //----------------------------------------------------------------------------- 11 | 12 | class JavaStatsManagerItf 13 | { 14 | public: 15 | virtual void poll(void) = 0; 16 | virtual void updateJvmMgmtStats(void) = 0; 17 | virtual void processReconfigure(void) = 0; 18 | }; 19 | 20 | 21 | #endif 22 | 23 | -------------------------------------------------------------------------------- /src/server/httpdaemon/libdaemon.h: -------------------------------------------------------------------------------- 1 | /* 2 | ** libdaemon.h 3 | ** 4 | ** Basic definitions for daemon module. 5 | ** 6 | */ 7 | 8 | #ifndef _LIBDAEMON_H_ 9 | #define _LIBDAEMON_H_ 10 | 11 | #ifdef XP_WIN32 12 | // Need to force service-pack 3 extensions to be defined by 13 | // setting _WIN32_WINNT to NT 4.0 for winsock.h, winbase.h, winnt.h. 14 | // Ug. 15 | #ifndef _WIN32_WINNT 16 | #define _WIN32_WINNT 0x0400 17 | #elif (_WIN32_WINNT < 0x0400) 18 | #undef _WIN32_WINNT 19 | #define _WIN32_WINNT 0x0400 20 | #endif 21 | #include 22 | #include 23 | #endif 24 | 25 | #include "prtypes.h" 26 | #include "netsite.h" 27 | #include "base/systems.h" 28 | #include "base/ereport.h" 29 | #include "frame/conf_api.h" 30 | 31 | #ifdef XP_WIN32 32 | #pragma warning (disable:4355) 33 | #endif 34 | 35 | #define streq(s1,s2) (strcmp((s1),(s2))==0) 36 | #define strieq(s1,s2) (strcasecmp((s1),(s2))==0) 37 | #define strneq(s1,s2,n) (strncmp((s1),(s2),(n))==0) 38 | 39 | #ifdef XP_UNIX 40 | #define max(n1,n2) ((n1)>(n2)?(n1):(n2)) 41 | #endif 42 | 43 | #ifdef XP_WIN32 44 | #ifdef BUILD_DLL 45 | #define HTTPDAEMON_DLL _declspec(dllexport) 46 | #else 47 | #define HTTPDAEMON_DLL _declspec(dllimport) 48 | #endif 49 | #else 50 | #define HTTPDAEMON_DLL 51 | #endif 52 | 53 | #endif /* _LIBDAEMON_H_ */ 54 | -------------------------------------------------------------------------------- /src/server/httpdaemon/smartheapinit.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef SMARTHEAPINIT_H 35 | #define SMARTHEAPINIT_H 36 | 37 | void SmartHeapInit(void); 38 | 39 | #endif // SMARTHEAPINIT_H 40 | -------------------------------------------------------------------------------- /src/server/httpdaemon/updatecrl.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef HTTPDAEMON_UPDATECRL_H 35 | #define HTTPDAEMON_UPDATECRL_H 36 | 37 | PR_BEGIN_EXTERN_C 38 | 39 | void crl_check_updates(PRBool nodir_warn); 40 | void crl_check_updates_p(const char * crl_path, PRBool nodir_warn); 41 | 42 | PR_END_EXTERN_C 43 | 44 | #endif // HTTPDAEMON_UPDATECRL_H 45 | -------------------------------------------------------------------------------- /src/server/i18n.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/src/server/i18n.h -------------------------------------------------------------------------------- /src/server/libaccess/FileRealm.h: -------------------------------------------------------------------------------- 1 | #ifndef __FileRealm_H__ 2 | #define __FileRealm_H__ 3 | 4 | #include 5 | #include "support/NSString.h" 6 | #include 7 | #include 8 | #include "libaccess/WSRealm.h" 9 | 10 | typedef void (*FileRealmListCB)(FileRealmUser*); 11 | 12 | class FILEACL_PUBLIC FileRealm: public WSRealm { 13 | public: 14 | FileRealm(const char* format); 15 | ~FileRealm(); 16 | 17 | public: 18 | PRBool supportDigest(); 19 | PRBool isKeyfile(); 20 | PRBool isHTAccess(); 21 | PRBool isDigest(); 22 | 23 | public: 24 | int load(const char *file,const char *fileformat); 25 | int load(NSErr_t *errp,const char *file,const char *fileformat); 26 | int save(const char* filename); 27 | void add(const FileRealmUser* u); 28 | FileRealmUser* find(const char* user); 29 | FileRealmUser* find(const char* user,const char* realm); 30 | 31 | // listfn is user supplied callback function that will be called for 32 | // every user in the file database 33 | void list(FileRealmListCB listfn); 34 | void remove(FileRealmUser *u); 35 | 36 | private: 37 | FileRealmUser* parse_keyfile_line(char *buf); 38 | FileRealmUser* parse_user_grp_line(char *line,const char *format); 39 | 40 | 41 | private: 42 | PList_t users; 43 | NSString dbformat; 44 | }; 45 | 46 | 47 | #endif 48 | -------------------------------------------------------------------------------- /src/server/libaccess/FileRealmUser.h: -------------------------------------------------------------------------------- 1 | #ifndef __FileRealmUser_H__ 2 | #define __FileRealmUser_H__ 3 | 4 | #include 5 | #include "support/NSString.h" 6 | #include 7 | 8 | #define SSHA_TAG "{SSHA}" 9 | #define DIGEST_TAG "{DIGEST}" 10 | 11 | FILEACL_PUBLIC void sshaPasswd(const char* salt,const int saltSize, const char* clearPasswd,NSString& hashed); 12 | FILEACL_PUBLIC void ha1Passwd(const char*name,const char* realm,const char* cleartext,NSString& ha1); 13 | 14 | /* 15 | * class to store file based user information. 16 | * ths objects of this class are stored in FileRealm object 17 | */ 18 | class FILEACL_PUBLIC FileRealmUser { 19 | public: 20 | FileRealmUser(const char* name,const char* hash,const char* groups); 21 | ~FileRealmUser(); 22 | 23 | public: 24 | const NSString& getName() const; 25 | const NSString& getHashedPwd() const; 26 | const NSString& getGroups() const; 27 | 28 | void setPassword(const char* pwd); 29 | void setGroups(const char* grps); 30 | void addGroup(const char* grp); 31 | 32 | public: 33 | PRBool sshaVerify(const char* passwd); 34 | PRBool htcryptVerify(const char* passwd); 35 | void toString(NSString& line); 36 | 37 | private: 38 | 39 | 40 | private: 41 | NSString name; //ex. "j2ee" 42 | NSString hash; //ex. "{SSHA}fHIc7qnoMSmgDnkARmM5HnzzCZ4ij4XegpNLvQ==" 43 | NSString groups; //ex. "staff,engineering" 44 | }; 45 | 46 | 47 | #endif 48 | -------------------------------------------------------------------------------- /src/server/libaccess/WSRealm.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | #include 6 | 7 | 8 | void free_Vector_pb_param(GenericVector* pVector) 9 | { 10 | for (int i=0;pVector!=NULL && ilength();i++) { 11 | pb_param* pb = (pb_param*)( (*pVector)[i]); 12 | FREE(pb->name); 13 | FREE(pb->value); 14 | FREE(pb); 15 | } 16 | delete pVector; 17 | } 18 | 19 | void free_Vector_char(GenericVector* pVector) 20 | { 21 | for (int i=0;pVector!=NULL && ilength();i++) { 22 | FREE( (*pVector)[i]); 23 | } 24 | delete pVector; 25 | } 26 | 27 | 28 | WSRealm* WSRealm::getWSRealm(NSErr_t *errp, PList_t resource, PList_t auth_info) 29 | { 30 | int rv; 31 | char *dbname; 32 | ACLMethod_t method; 33 | ACLDbType_t dbtype; 34 | void *pAnyDB=NULL; 35 | 36 | // get hold of the authentication DB name 37 | if ((rv = ACL_AuthInfoGetDbname(auth_info, &dbname)) < 0) { 38 | char rv_str[16]; 39 | sprintf(rv_str, "%d", rv); 40 | nserrGenerate(errp, ACLERRFAIL, ACLERR5830, ACL_Program, 2, 41 | XP_GetAdminStr(DBT_ldapaclUnableToGetDatabaseName), rv_str); 42 | return NULL; 43 | } 44 | 45 | // get the VS's idea of the user database 46 | rv = ACL_DatabaseFind(errp, dbname, &dbtype, &pAnyDB); 47 | if (rv != LAS_EVAL_TRUE || ACL_DbTypeLdap == ACL_DBTYPE_INVALID) { 48 | nserrGenerate(errp, ACLERRFAIL, ACLERR5840, ACL_Program, 2, 49 | XP_GetAdminStr(DBT_ldapaclUnableToGetParsedDatabaseName), dbname); 50 | return NULL; 51 | } 52 | // XXX elving it's not safe to arbitrarily cast to (WSRealm *) 53 | return (WSRealm*)pAnyDB; 54 | } 55 | -------------------------------------------------------------------------------- /src/server/libaccess/dbtlibaccess.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/src/server/libaccess/dbtlibaccess.h -------------------------------------------------------------------------------- /src/server/libaccess/fileacl.h: -------------------------------------------------------------------------------- 1 | /* 2 | * FILE: fileacl.h 3 | * 4 | * general header file for this module 5 | */ 6 | #ifndef __FILEACL_H__ 7 | #define __FILEACL_H__ 8 | 9 | #include 10 | #include 11 | 12 | #ifdef XP_WIN32 13 | #ifdef BUILD_DLL 14 | #define FILEACL_PUBLIC __declspec(dllexport) 15 | #else 16 | #define FILEACL_PUBLIC __declspec(dllimport) 17 | #endif 18 | #else /* Unix */ 19 | #define FILEACL_PUBLIC 20 | #endif 21 | 22 | 23 | //#define ACL_DBTYPE_FILEACL "file" 24 | 25 | #define FILEACL_ATTR_SYNTAX "syntax" 26 | #define FILEACL_ATTRVAL_KEYFILE "keyfile" 27 | #define FILEACL_ATTRVAL_HTACCESS "htaccess" 28 | #define FILEACL_ATTRVAL_DIGEST "digest" 29 | 30 | #define FILEACL_ATTR_KEYFILE "keyfile" 31 | #define FILEACL_ATTR_USERFILE "userfile" 32 | #define FILEACL_ATTR_GROUPFILE "groupfile" 33 | #define FILEACL_ATTR_DIGESTFILE "digestfile" 34 | 35 | #define FILEACL_COMMA_SEP ',' 36 | 37 | #define DBFORMAT_KEYFILE FILEACL_ATTRVAL_KEYFILE 38 | #define DBFORMAT_HTACCESS FILEACL_ATTRVAL_HTACCESS 39 | #define DBFORMAT_DIGEST FILEACL_ATTRVAL_DIGEST 40 | 41 | #define MAX_LINE_LEN 256 42 | #define MAX_PATH_LEN 256 43 | 44 | #define ERR_LINE_TOO_LONG -1 45 | 46 | 47 | NSPR_BEGIN_EXTERN_C 48 | 49 | NSAPI_PUBLIC int fileacl_user_get(NSErr_t *errp, PList_t subject, PList_t resource, 50 | PList_t auth_info, PList_t global_auth, void *arg); 51 | NSAPI_PUBLIC int fileacl_user_ismember_get(NSErr_t *errp, PList_t subject, PList_t resource, 52 | PList_t auth_info, PList_t global_auth, void *arg); 53 | NSAPI_PUBLIC int fileacl_userexists_get(NSErr_t *errp, PList_t subject, PList_t resource, 54 | PList_t auth_info, PList_t global_auth, void *arg); 55 | NSAPI_PUBLIC int fileacl_parse_url(NSErr_t *errp, ACLDbType_t dbtype,const char*dbname, 56 | const char *url, PList_t plist, void **db); 57 | NSAPI_PUBLIC void fileacl_flush(void **any); 58 | 59 | NSPR_END_EXTERN_C 60 | 61 | 62 | 63 | #endif 64 | 65 | -------------------------------------------------------------------------------- /src/server/libaccess/parse.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | /* 35 | * module private routines for handling the yacc based 36 | * ACL Parser. 37 | */ 38 | 39 | #ifndef PARSE_H 40 | #define PARSE_H 41 | 42 | NSPR_BEGIN_EXTERN_C 43 | 44 | extern int acl_PushListHandle(ACLListHandle_t *handle); 45 | extern int acl_Parse(void); 46 | 47 | NSPR_END_EXTERN_C 48 | 49 | #endif 50 | -------------------------------------------------------------------------------- /src/server/libaccess/yy-sed: -------------------------------------------------------------------------------- 1 | /#include /d 2 | /#include /d 3 | /#pragma ident/d 4 | s/malloc.h/netsite.h/g 5 | s/yyparse/acl_Parse/g 6 | s/yy_flex_alloc/ACL_FLEX_ALLOC/g 7 | s/yy_flex_realloc/ACL_FLEX_REALLOC/g 8 | s/yy_flex_free/ACL_FLEX_FREE/g 9 | s/malloc(/PERM_MALLOC(/g 10 | s/free(/PERM_FREE(/g 11 | s/realloc(/PERM_REALLOC(/g 12 | s/yy/acl/g 13 | s/YY/ACL/g 14 | s/lex.acl.c/acl.yy.cpp/g 15 | -------------------------------------------------------------------------------- /src/server/libadmin/adminobjs.mk: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | # 4 | # Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | # 6 | # THE BSD LICENSE 7 | # 8 | # Redistribution and use in source and binary forms, with or without 9 | # modification, are permitted provided that the following conditions are met: 10 | # 11 | # Redistributions of source code must retain the above copyright notice, this 12 | # list of conditions and the following disclaimer. 13 | # Redistributions in binary form must reproduce the above copyright notice, 14 | # this list of conditions and the following disclaimer in the documentation 15 | # and/or other materials provided with the distribution. 16 | # 17 | # Neither the name of the nor the names of its contributors may be 18 | # used to endorse or promote products derived from this software without 19 | # specific prior written permission. 20 | # 21 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | # OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | # 33 | 34 | # include for admin objects 35 | # All libadmin objects go here so httd dll and libadmin build can pick them up. 36 | 37 | ADMINOBJS +=code 38 | ADMINOBJS +=password 39 | ADMINOBJS +=strlist 40 | ADMINOBJS +=admserv 41 | ADMINOBJS +=resource_icu 42 | ADMINOBJS +=get_file_paths 43 | ADMINOBJS +=cron_conf 44 | -------------------------------------------------------------------------------- /src/server/libadmin/code.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/src/server/libadmin/code.cpp -------------------------------------------------------------------------------- /src/server/libdrcache/drcacheobjs.mk: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | # 4 | # Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | # 6 | # THE BSD LICENSE 7 | # 8 | # Redistribution and use in source and binary forms, with or without 9 | # modification, are permitted provided that the following conditions are met: 10 | # 11 | # Redistributions of source code must retain the above copyright notice, this 12 | # list of conditions and the following disclaimer. 13 | # Redistributions in binary form must reproduce the above copyright notice, 14 | # this list of conditions and the following disclaimer in the documentation 15 | # and/or other materials provided with the distribution. 16 | # 17 | # Neither the name of the nor the names of its contributors may be 18 | # used to endorse or promote products derived from this software without 19 | # specific prior written permission. 20 | # 21 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | # OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | # 33 | 34 | DRCACHEOBJ=drcache 35 | DRCACHEOBJ+=drnsapi 36 | -------------------------------------------------------------------------------- /src/server/libmessages/messages.c: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | /* This is the required stub entry point for the message-table DLL */ 35 | #include 36 | 37 | BOOL WINAPI DllMain(HINSTANCE hDLL, DWORD dwReason, LPVOID lpReserved) 38 | { 39 | return(TRUE); 40 | } 41 | -------------------------------------------------------------------------------- /src/server/libproxy/dbtlibproxy.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/src/server/libproxy/dbtlibproxy.h -------------------------------------------------------------------------------- /src/server/libproxy/putils.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/src/server/libproxy/putils.cpp -------------------------------------------------------------------------------- /src/server/libproxy/reverse.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2004 Sun Microsystems, Inc. All rights reserved. 3 | * Use is subject to license terms. 4 | */ 5 | 6 | #ifndef LIBPROXY_REVERSE_H 7 | #define LIBPROXY_REVERSE_H 8 | 9 | /* 10 | * reverse.h: Reverse proxying 11 | * 12 | * Ari Luotonen 13 | * Copyright (c) 1995 Netscape Communcations Corporation 14 | */ 15 | 16 | #include "netsite.h" 17 | 18 | NSPR_BEGIN_EXTERN_C 19 | 20 | /* 21 | * SAFs 22 | */ 23 | Func ntrans_reverse_map; 24 | 25 | /* 26 | * reverse_init initializes the reverse mapping subsystem. 27 | */ 28 | PRStatus reverse_init(void); 29 | 30 | /* 31 | * reverse_map_set_headers configures which headers will be rewritten by 32 | * inspecting rewrite-* parameters in pb. 33 | */ 34 | PRStatus reverse_map_set_headers(pblock *pb, Session *sn, Request *rq); 35 | 36 | /* 37 | * reverse_map_add adds a new reverse mapping. 38 | */ 39 | PRStatus reverse_map_add(Session *sn, Request *rq, const char *src, const char *dst); 40 | 41 | /* 42 | * reverse_map_for returns the reverse mapping for the specified URL (allocated 43 | * from the sn->pool pool) or NULL if there is no reverse mapping. 44 | */ 45 | char *reverse_map_for(Session *sn, Request *rq, const char *url); 46 | 47 | /* 48 | * reverse_map_rewrite rewrites the headers in rq->srvhdrs. 49 | */ 50 | PRBool reverse_map_rewrite(Session *sn, Request *rq); 51 | 52 | NSPR_END_EXTERN_C 53 | 54 | #endif/* LIBPROXY_REVERSE */ 55 | -------------------------------------------------------------------------------- /src/server/libproxy/stuff.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/src/server/libproxy/stuff.cpp -------------------------------------------------------------------------------- /src/server/libproxy/stuff.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/src/server/libproxy/stuff.h -------------------------------------------------------------------------------- /src/server/libproxy/util.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/src/server/libproxy/util.h -------------------------------------------------------------------------------- /src/server/libsi18n/dblink.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/src/server/libsi18n/dblink.c -------------------------------------------------------------------------------- /src/server/libsi18n/getlang.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/src/server/libsi18n/getlang.cpp -------------------------------------------------------------------------------- /src/server/libsi18n/getstrdb.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/src/server/libsi18n/getstrdb.cpp -------------------------------------------------------------------------------- /src/server/libsi18n/getstrmem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/src/server/libsi18n/getstrmem.cpp -------------------------------------------------------------------------------- /src/server/libsi18n/gshttpd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/src/server/libsi18n/gshttpd.h -------------------------------------------------------------------------------- /src/server/libsi18n/liblibsi18n.versions: -------------------------------------------------------------------------------- 1 | sparc { 2 | SUNWprivate; 3 | } 4 | sparcv9 { 5 | SUNWprivate; 6 | } 7 | i386 { 8 | SUNWprivate; 9 | } 10 | -------------------------------------------------------------------------------- /src/server/libsi18n/makstrdb.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/src/server/libsi18n/makstrdb.c -------------------------------------------------------------------------------- /src/server/libsi18n/webserv_msg_ja.txt: -------------------------------------------------------------------------------- 1 | /* This text file was generated by program dblink */ 2 | 3 | $StartStringData$ 4 | 5 | ja,frame,-1,[$DBT: frame in DB file v1 $] 6 | ja,frame,1,[見つかりません\n

見つかりません

要求されたオブジェクトがこのサーバー上に存在しません。実行したリンクが古いか不正確であるか、サーバーがそのリンクへのアクセスを制限しています。] 7 | ja,frame,2,[サイト管理者に参照中のページを連絡してください。] 8 | ja,frame,10,[お使いのブラウザから、このサーバーでは認識できないクエリが送信されました。] 9 | ja,frame,11,[この領域には適切な認証が必要です。ブラウザが認証を実行していないか、認証に失敗しました。] 10 | ja,frame,12,[クライアントは、要求されたオブジェクトへのアクセスを許可されていません。] 11 | ja,frame,13,[サーバーが内部エラーを検出したため、要求を実行できませんでした。設定が不適切である可能性があります。管理者に依頼して、サーバーのエラーログにあるメッセージを探してください。] 12 | ja,frame,14,[このサーバーは、要求されたメソッドを実装していません。] 13 | ja,frame,15,[エラーが発生しました。] 14 | ja,frame,16,[お使いのブラウザから、このサーバーでは認識できないメッセージが送信されました。] 15 | ja,frame,17,[サーバーはリクエストされたメッセージ本体を受信できません。Content-Length ヘッダを付けてリクエストを再試行してください。] 16 | ja,frame,18,[%s\n

%s

\n%s\n] 17 | ja,frame,157,[パスワードの有効期限が切れています。パスワードを変更するか、システム管理者に問い合わせてください。] 18 | ja,frame,159,[クラアントのリクエストを待機中にサーバーがタイムアウトしました。] 19 | ja,frame,161,[リクエストされた URI は、サーバーが処理できる長さを超えています。] 20 | ja,frame,206,[リクエストされたエンティティは、サーバーが処理できる長さを超えています。] 21 | ja,frame,207,[リクエストされた範囲は十分ではありません。] 22 | ja,frame,222,[\n%s\n\n%s\n\n] 23 | ja,frame,223,[このリクエストの処理を委任されたサーバーは、正常に機能していません。] 24 | ja,frame,224,[このリクエストの処理を委任されたサーバーは、正常に機能していません。] 25 | ja,frame,238,[指定したリソースはロックされています。クライアントがロックの所有者でないか、ロックトークンを送信する必要があるロックのタイプでクライアントがトークンを送信していません。] 26 | ja,frame,239,[リクエストされた処理は他の処理に依存していて、その処理が失敗したため、リクエストされたメソッドはリソース上で実行できません。] 27 | ja,frame,240,[リクエストを正常に完了するのに必要な表現をサーバーが保存できないため、リクエストされたメソッドはリソース上で実行できません。] 28 | ja,frame,246,[リクエストされた本体のタイプは、サーバーでサポートされていません。] 29 | 30 | -------------------------------------------------------------------------------- /src/server/libsi18n/webserv_msg_ko.txt: -------------------------------------------------------------------------------- 1 | /* This text file was generated by program dblink */ 2 | 3 | $StartStringData$ 4 | 5 | ko,frame,-1,[$DBT: frame in DB file v1 $] 6 | ko,frame,1,[찾을 수 없음\n

찾을 수 없음

요청한 항목이 이 서버에 없습니다. 사용한 링크가 만기되었거나, 부정확하거나, 서버가 이에 대한 사용을 금지하도록 했을 수 있습니다. ] 7 | ko,frame,2,[다음의 사이트 관리자에게 통지하십시오. 참조 페이지.] 8 | ko,frame,10,[사용 중인 브라우저가 보낸 쿼리를 서버가 이해할 수 없습니다.] 9 | ko,frame,11,[이 영역에는 적합한 인증이 필요합니다. 브라우저가 인증을 수행하지 않으면 인증에 실패하게 됩니다.] 10 | ko,frame,12,[클라이언트가 요청한 항목에 액세스할 수 없습니다.] 11 | ko,frame,13,[이 서버에 요청을 이행할 수 없는 내부 오류가 발생했습니다. 가장 흔한 이유는 구성 오류입니다. 관리자에게 서버의 오류 로그에서 메시지를 확인하도록 요청하십시오.] 12 | ko,frame,14,[이 서버에는 요청한 방법이 구현되지 않았습니다.] 13 | ko,frame,15,[오류가 발생했습니다.] 14 | ko,frame,16,[사용 중인 브라우저가 보낸 메시지를 서버가 이해할 수 없습니다.] 15 | ko,frame,17,[서버가 제공된 요청 메시지를 받아 들일 수 없습니다. Content-Length 헤더가 포함된 요청을 다시 시도하십시오.] 16 | ko,frame,18,[%s\n

%s

\n%s\n] 17 | ko,frame,157,[비밀번호가 만료되었습니다. 비밀번호를 변경하거나 시스템 관리자에게 문의하십시오.] 18 | ko,frame,159,[클라이언트 요청을 기다리는 동안 서버가 시간초과되었습니다.] 19 | ko,frame,161,[요청한 URI는 서버가 처리할 수 있는 것보다 깁니다.] 20 | ko,frame,206,[요청한 실체는 서버가 처리할 수 있는 것보다 깁니다.] 21 | ko,frame,207,[요청된 범위는 조건을 만족하지 않습니다.] 22 | ko,frame,222,[\n%s\n\n%s\n\n] 23 | ko,frame,223,[이 요청의 프로세스가 올바로 기능하지 않는 서버에 위임되었습니다.] 24 | ko,frame,224,[이 요청의 프로세스가 올바로 기능하지 않는 서버에 위임되었습니다.] 25 | ko,frame,238,[지정된 자원이 잠겨 있고 클라이언트가 잠금 권한이 없거나, 잠금 유형이 잠금 토큰을 제출하도록 요구하나 클라이언트가 이를 제출하지 않았습니다.] 26 | ko,frame,239,[요청된 동작이 다른 동작에 의존하고 그 동작이 실패했기 때문에 요청된 방법이 자원에서 수행될 수 없습니다.] 27 | ko,frame,240,[서버가 요청을 성공적으로 완료하기 위해 필요한 설명을 저장할 수 없기 때문에 요청된 방법이 자원에서 수행될 수 없습니다.] 28 | ko,frame,246,[서버가 요청한 본문의 유형을 지원하지 않습니다.] 29 | 30 | -------------------------------------------------------------------------------- /src/server/libsi18n/webserv_msg_zh_cn.txt: -------------------------------------------------------------------------------- 1 | /* This text file was generated by program dblink */ 2 | 3 | $StartStringData$ 4 | 5 | zh,frame,-1,[$DBT: frame in DB file v1 $] 6 | zh,frame,1,[未找到\n

未找到

此服务器上不存在请求的对象。使用的链接已过时或不正确,或者服务器已被设置为拒绝您使用此链接。] 7 | zh,frame,2,[请将引用的页面通知给站点管理员。] 8 | zh,frame,10,[此服务器无法理解您的浏览器发送的查询。] 9 | zh,frame,11,[此区域需要正确授权。您的浏览器未执行授权,或者授权失败。] 10 | zh,frame,12,[您的客户机无权访问请求的对象。] 11 | zh,frame,13,[此服务器遇到了内部错误,该错误使服务器无法完成您请求的操作。最可能的原因是配置不正确。请让管理员在服务器的错误日志中查看相关的消息。] 12 | zh,frame,14,[此服务器未实现请求的方法。] 13 | zh,frame,15,[出现错误。] 14 | zh,frame,16,[此服务器无法理解您的浏览器发送的消息。] 15 | zh,frame,17,[此服务器无法接受提供的请求消息正文。请使用包含“Content-Length”标记的标头重新尝试发送此请求。] 16 | zh,frame,18,[%s\n

%s

\n%s\n] 17 | zh,frame,157,[密码已过期。请更改密码或与系统管理员联系。] 18 | zh,frame,159,[此服务器等待客户端请求时超时。] 19 | zh,frame,161,[请求 URI 的长度超出服务器的处理能力。] 20 | zh,frame,206,[请求实体的长度超出服务器的处理能力。] 21 | zh,frame,207,[请求范围无法满足。] 22 | zh,frame,222,[\n%s\n\n%s\n\n] 23 | zh,frame,223,[此请求的处理被委派给不能正常运行的服务器。] 24 | zh,frame,224,[此请求的处理被委派给不能正常运行的服务器。] 25 | zh,frame,238,[指定的资源已被锁定,并且客户端不是锁定属主,或者锁定类型需要提交锁定令牌而客户端未提交。] 26 | zh,frame,239,[无法在此资源上执行请求的方法,因为请求的操作取决于其它操作,而该操作失败。] 27 | zh,frame,240,[无法在此资源上执行请求的方法,因为服务器无法存储成功完成请求所需的表示法。] 28 | zh,frame,246,[此服务器不支持正文的请求类型。] 29 | 30 | -------------------------------------------------------------------------------- /src/server/libsi18n/webserv_msg_zh_tw.txt: -------------------------------------------------------------------------------- 1 | /* This text file was generated by program dblink */ 2 | 3 | $StartStringData$ 4 | 5 | zh_TW,frame,-1,[$DBT: frame in DB file v1 $] 6 | zh_TW,frame,1,[未找到\n

未找到

該伺服器中不存在請求的物件。您採用的連結可能已過期或不準確,或者此伺服器已受指示不讓您使用此連結。] 7 | zh_TW,frame,2,[請通知此參考網頁的網站管理員。] 8 | zh_TW,frame,10,[您的瀏覽器發送了此伺服器無法識別的查詢。] 9 | zh_TW,frame,11,[需要有正確的授權,才能存取此區域。您的瀏覽器不執行授權,或者您的授權已失敗。] 10 | zh_TW,frame,12,[不允許用戶端存取請求物件。] 11 | zh_TW,frame,13,[此伺服器遇到了內部錯誤,阻止其執行您的請求作業。很有可能是因為配置錯誤。請洽詢管理員,在伺服器錯誤記錄中查找郵件。] 12 | zh_TW,frame,14,[此伺服器不實作請求的方法。] 13 | zh_TW,frame,15,[已發生錯誤。] 14 | zh_TW,frame,16,[您的瀏覽器發送了該伺服器無法識別的郵件。] 15 | zh_TW,frame,17,[伺服器無法接受提供的請求郵件內文。請重試帶有內容-長度標頭的請求。] 16 | zh_TW,frame,18,[%s\n

%s

\n%s\n] 17 | zh_TW,frame,157,[您的密碼已過期。請變更密碼或與您的系統管理員連絡。] 18 | zh_TW,frame,159,[伺服器等待用戶端請求逾時。] 19 | zh_TW,frame,161,[請求 URI 過長,超過伺服器的處理能力。] 20 | zh_TW,frame,206,[請求實體過長,超過伺服器的處理能力。] 21 | zh_TW,frame,207,[無法滿足請求的範圍。] 22 | zh_TW,frame,222,[\n%s\n\n%s\n\n] 23 | zh_TW,frame,223,[對此請求的處理委託給了工作不正常的伺服器。] 24 | zh_TW,frame,224,[對此請求的處理委託給了工作不正常的伺服器。] 25 | zh_TW,frame,238,[指定的資源被鎖定,用戶端不是鎖定所有者,或鎖定類型需要提交鎖定記號,而用戶端未提交該記號。] 26 | zh_TW,frame,239,[無法對資源執行請求的方法,因為請求的動作取決於另一個動作,而該動作已失敗。] 27 | zh_TW,frame,240,[無法對資源執行請求的方法,因為伺服器無法儲存成功完成該請求所需的表示法。] 28 | zh_TW,frame,246,[伺服器不支援內文的請求類型。] 29 | 30 | -------------------------------------------------------------------------------- /src/server/plugins/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | # 4 | # Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | # 6 | # THE BSD LICENSE 7 | # 8 | # Redistribution and use in source and binary forms, with or without 9 | # modification, are permitted provided that the following conditions are met: 10 | # 11 | # Redistributions of source code must retain the above copyright notice, this 12 | # list of conditions and the following disclaimer. 13 | # Redistributions in binary form must reproduce the above copyright notice, 14 | # this list of conditions and the following disclaimer in the documentation 15 | # and/or other materials provided with the distribution. 16 | # 17 | # Neither the name of the nor the names of its contributors may be 18 | # used to endorse or promote products derived from this software without 19 | # specific prior written permission. 20 | # 21 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | # OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | # 33 | 34 | BUILD_ROOT=../../.. 35 | 36 | MODULE=plugins 37 | include ${BUILD_ROOT}/make/base.mk 38 | 39 | all:: 40 | 41 | # plugins that are bundled with the Web Server 42 | BUNDLED=shtml htaccess fastcgi 43 | 44 | DIRS=$(BUNDLED) 45 | 46 | # this should always be last! 47 | include ${BUILD_ROOT}/make/rules.mk 48 | -------------------------------------------------------------------------------- /src/server/plugins/fastcgi/fastcgii18n.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | // Defining RESOURCE_STR before including fastcgii18n.h has the following 35 | // effects: 36 | // 37 | // 1. builds default strings into this .o 38 | // 2. allocates space in this .o for pointers to cache localized strings 39 | 40 | #define RESOURCE_STR 41 | #include "fastcgii18n.h" 42 | -------------------------------------------------------------------------------- /src/server/plugins/fastcgi/libfastcgi.versions: -------------------------------------------------------------------------------- 1 | sparc { 2 | SUNWprivate; 3 | } 4 | sparcv9 { 5 | SUNWprivate; 6 | } 7 | i386 { 8 | SUNWprivate; 9 | } 10 | -------------------------------------------------------------------------------- /src/server/plugins/htaccess/htaccess.versions: -------------------------------------------------------------------------------- 1 | sparc { 2 | SUNWprivate; 3 | } 4 | sparcv9 { 5 | SUNWprivate; 6 | } 7 | i386 { 8 | SUNWprivate; 9 | } 10 | -------------------------------------------------------------------------------- /src/server/plugins/java/libj2eeplugin.versions: -------------------------------------------------------------------------------- 1 | sparc { 2 | SUNWprivate; 3 | } 4 | sparcv9 { 5 | SUNWprivate; 6 | } 7 | i386 { 8 | SUNWprivate; 9 | } 10 | -------------------------------------------------------------------------------- /src/server/plugins/java/libjvm.spec: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | # 4 | # Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | # 6 | # THE BSD LICENSE 7 | # 8 | # Redistribution and use in source and binary forms, with or without 9 | # modification, are permitted provided that the following conditions are met: 10 | # 11 | # Redistributions of source code must retain the above copyright notice, this 12 | # list of conditions and the following disclaimer. 13 | # Redistributions in binary form must reproduce the above copyright notice, 14 | # this list of conditions and the following disclaimer in the documentation 15 | # and/or other materials provided with the distribution. 16 | # 17 | # Neither the name of the nor the names of its contributors may be 18 | # used to endorse or promote products derived from this software without 19 | # specific prior written permission. 20 | # 21 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | # OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | # 33 | 34 | function JNI_CreateJavaVM 35 | arch all 36 | version libjvm.so 37 | end 38 | 39 | function JNI_GetCreatedJavaVMs 40 | arch all 41 | version libjvm.so 42 | end 43 | -------------------------------------------------------------------------------- /src/server/plugins/java/libjvm.versions: -------------------------------------------------------------------------------- 1 | sparc { 2 | libjvm.so; 3 | } 4 | sparcv9 { 5 | libjvm.so; 6 | } 7 | i386 { 8 | libjvm.so; 9 | } 10 | -------------------------------------------------------------------------------- /src/server/plugins/shtml/libShtml.versions: -------------------------------------------------------------------------------- 1 | sparc { 2 | SUNW_1.1; 3 | SUNWprivate; 4 | } 5 | sparcv9 { 6 | SUNW_1.1; 7 | SUNWprivate; 8 | } 9 | i386 { 10 | SUNW_1.1; 11 | SUNWprivate; 12 | } 13 | -------------------------------------------------------------------------------- /src/server/public/base/buffer.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef PUBLIC_BASE_BUFFER_H 35 | #define PUBLIC_BASE_BUFFER_H 36 | 37 | /* 38 | * File: buffer.h 39 | * 40 | * Description: 41 | * 42 | * Deprecated include file. 43 | */ 44 | 45 | #ifndef PUBLIC_NSAPI_H 46 | #include "../nsapi.h" 47 | #endif /* !PUBLIC_NSAPI_H */ 48 | 49 | #endif /* !PUBLIC_BASE_BUFFER_H */ 50 | -------------------------------------------------------------------------------- /src/server/public/base/cinfo.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef PUBLIC_BASE_CINFO_H 35 | #define PUBLIC_BASE_CINFO_H 36 | 37 | /* 38 | * File: cinfo.h 39 | * 40 | * Description: 41 | * 42 | * Deprecated include file. 43 | */ 44 | 45 | #ifndef PUBLIC_NSAPI_H 46 | #include "../nsapi.h" 47 | #endif /* !PUBLIC_NSAPI_H */ 48 | 49 | #endif /* !PUBLIC_BASE_CINFO_H */ 50 | -------------------------------------------------------------------------------- /src/server/public/base/crit.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef PUBLIC_BASE_CRIT_H 35 | #define PUBLIC_BASE_CRIT_H 36 | 37 | /* 38 | * File: crit.h 39 | * 40 | * Description: 41 | * 42 | * Deprecated include file. 43 | */ 44 | 45 | #ifndef PUBLIC_NSAPI_H 46 | #include "../nsapi.h" 47 | #endif /* !PUBLIC_NSAPI_H */ 48 | 49 | #endif /* !PUBLIC_BASE_CRIT_H */ 50 | -------------------------------------------------------------------------------- /src/server/public/base/file.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef PUBLIC_BASE_FILE_H 35 | #define PUBLIC_BASE_FILE_H 36 | 37 | /* 38 | * File: file.h 39 | * 40 | * Description: 41 | * 42 | * Deprecated include file. 43 | */ 44 | 45 | #ifndef PUBLIC_NSAPI_H 46 | #include "../nsapi.h" 47 | #endif /* !PUBLIC_NSAPI_H */ 48 | 49 | #endif /* !PUBLIC_BASE_FILE_H */ 50 | -------------------------------------------------------------------------------- /src/server/public/base/net.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef PUBLIC_BASE_NET_H 35 | #define PUBLIC_BASE_NET_H 36 | 37 | /* 38 | * File: net.h 39 | * 40 | * Description: 41 | * 42 | * Deprecated include file. 43 | */ 44 | 45 | #ifndef PUBLIC_NSAPI_H 46 | #include "../nsapi.h" 47 | #endif /* !PUBLIC_NSAPI_H */ 48 | 49 | #endif /* !PUBLIC_BASE_NET_H */ 50 | -------------------------------------------------------------------------------- /src/server/public/base/pblock.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef PUBLIC_BASE_PBLOCK_H 35 | #define PUBLIC_BASE_PBLOCK_H 36 | 37 | /* 38 | * File: pblock.h 39 | * 40 | * Description: 41 | * 42 | * Deprecated include file. 43 | */ 44 | 45 | #ifndef PUBLIC_NSAPI_H 46 | #include "../nsapi.h" 47 | #endif /* !PUBLIC_NSAPI_H */ 48 | 49 | #endif /* !PUBLIC_BASE_PBLOCK_H */ 50 | -------------------------------------------------------------------------------- /src/server/public/base/pool.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef PUBLIC_BASE_POOL_H 35 | #define PUBLIC_BASE_POOL_H 36 | 37 | /* 38 | * File: pool.h 39 | * 40 | * Description: 41 | * 42 | * Deprecated include file. 43 | */ 44 | 45 | #ifndef PUBLIC_NSAPI_H 46 | #include "../nsapi.h" 47 | #endif /* !PUBLIC_NSAPI_H */ 48 | 49 | #endif /* !PUBLIC_BASE_POOL_H */ 50 | 51 | -------------------------------------------------------------------------------- /src/server/public/base/sem.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef PUBLIC_BASE_SEM_H 35 | #define PUBLIC_BASE_SEM_H 36 | 37 | /* 38 | * File: sem.h 39 | * 40 | * Description: 41 | * 42 | * Deprecated include file. 43 | */ 44 | 45 | #ifndef PUBLIC_NSAPI_H 46 | #include "../nsapi.h" 47 | #endif /* !PUBLIC_NSAPI_H */ 48 | 49 | #endif /* !PUBLIC_BASE_SEM_H */ 50 | -------------------------------------------------------------------------------- /src/server/public/base/shexp.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef PUBLIC_BASE_SHEXP_H 35 | #define PUBLIC_BASE_SHEXP_H 36 | 37 | /* 38 | * File: shexp.h 39 | * 40 | * Description: 41 | * 42 | * Deprecated include file. 43 | */ 44 | 45 | #ifndef PUBLIC_NSAPI_H 46 | #include "../nsapi.h" 47 | #endif /* !PUBLIC_NSAPI_H */ 48 | 49 | #endif /* !PUBLIC_BASE_SHEXP_H */ 50 | 51 | -------------------------------------------------------------------------------- /src/server/public/base/shmem.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef PUBLIC_BASE_SHMEM_H 35 | #define PUBLIC_BASE_SHMEM_H 36 | 37 | /* 38 | * File: shmem.h 39 | * 40 | * Description: 41 | * 42 | * Deprecated include file. 43 | */ 44 | 45 | #ifndef PUBLIC_NSAPI_H 46 | #include "../nsapi.h" 47 | #endif /* !PUBLIC_NSAPI_H */ 48 | 49 | #endif /* !PUBLIC_BASE_SHMEM_H */ 50 | 51 | -------------------------------------------------------------------------------- /src/server/public/base/util.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef PUBLIC_BASE_UTIL_H 35 | #define PUBLIC_BASE_UTIL_H 36 | 37 | /* 38 | * File: util.h 39 | * 40 | * Description: 41 | * 42 | * Deprecated include file. 43 | */ 44 | 45 | #ifndef PUBLIC_NSAPI_H 46 | #include "../nsapi.h" 47 | #endif /* !PUBLIC_NSAPI_H */ 48 | 49 | #endif /* PUBLIC_BASE_UTIL_H */ 50 | -------------------------------------------------------------------------------- /src/server/public/frame/conf.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef PUBLIC_FRAME_CONF_H 35 | #define PUBLIC_FRAME_CONF_H 36 | 37 | /* 38 | * File: conf.h 39 | * 40 | * Description: 41 | * 42 | * Deprecated include file. 43 | */ 44 | 45 | #ifndef PUBLIC_NSAPI_H 46 | #include "../nsapi.h" 47 | #endif /* !PUBLIC_NSAPI_H */ 48 | 49 | #endif /* !PUBLIC_FRAME_CONF_H */ 50 | -------------------------------------------------------------------------------- /src/server/public/frame/func.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef PUBLIC_FRAME_FUNC_H 35 | #define PUBLIC_FRAME_FUNC_H 36 | 37 | /* 38 | * File: func.h 39 | * 40 | * Description: 41 | * 42 | * Deprecated include file. 43 | */ 44 | 45 | #ifndef PUBLIC_NSAPI_H 46 | #include "../nsapi.h" 47 | #endif /* !PUBLIC_NSAPI_H */ 48 | 49 | #endif /* !PUBLIC_FRAME_FUNC_H */ 50 | -------------------------------------------------------------------------------- /src/server/public/frame/http.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef PUBLIC_FRAME_HTTP_H 35 | #define PUBLIC_FRAME_HTTP_H 36 | 37 | /* 38 | * File: http.h 39 | * 40 | * Description: 41 | * 42 | * Deprecated include file. 43 | */ 44 | 45 | #ifndef PUBLIC_NSAPI_H 46 | #include "../nsapi.h" 47 | #endif /* !PUBLIC_NSAPI_H */ 48 | 49 | #endif /* !PUBLIC_FRAME_HTTP_H */ 50 | -------------------------------------------------------------------------------- /src/server/public/frame/log.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef PUBLIC_FRAME_LOG_H 35 | #define PUBLIC_FRAME_LOG_H 36 | 37 | /* 38 | * File: log.h 39 | * 40 | * Description: 41 | * 42 | * Deprecated include file. 43 | */ 44 | 45 | #ifndef PUBLIC_NSAPI_H 46 | #include "../nsapi.h" 47 | #endif /* !PUBLIC_NSAPI_H */ 48 | 49 | #endif /* !PUBLIC_FRAME_LOG_H */ 50 | -------------------------------------------------------------------------------- /src/server/public/frame/protocol.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | /* 35 | * protocol.h: Switch which protocol we're speaking. 36 | * 37 | * Currently only HTTP, but expected to include MTP in the future. 38 | * 39 | * Rob McCool 40 | */ 41 | 42 | 43 | #if defined(MCC_HTTPD) || defined(MCC_PROXY) || defined(MCC_BATMAN) || defined(MCC_NEWS) 44 | #include "http.h" 45 | #endif 46 | -------------------------------------------------------------------------------- /src/server/public/frame/req.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef PUBLIC_FRAME_REQ_H 35 | #define PUBLIC_FRAME_REQ_H 36 | 37 | /* 38 | * File: req.h 39 | * 40 | * Description: 41 | * 42 | * Deprecated include file. 43 | */ 44 | 45 | #ifndef PUBLIC_NSAPI_H 46 | #include "../nsapi.h" 47 | #endif /* !PUBLIC_NSAPI_H */ 48 | 49 | #endif /* !PUBLIC_FRAME_REQ_H */ 50 | -------------------------------------------------------------------------------- /src/server/public/netsite.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef PUBLIC_NETSITE_H 35 | #define PUBLIC_NETSITE_H 36 | 37 | /* 38 | * File: netsite.h 39 | * 40 | * Description: 41 | * 42 | * Deprecated include file. 43 | */ 44 | 45 | #ifndef PUBLIC_NSAPI_H 46 | #include "nsapi.h" 47 | #endif /* !PUBLIC_NSAPI_H */ 48 | 49 | #endif /* !PUBLIC_NETSITE_H */ 50 | -------------------------------------------------------------------------------- /src/server/public/shtml/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | # 4 | # Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | # 6 | # THE BSD LICENSE 7 | # 8 | # Redistribution and use in source and binary forms, with or without 9 | # modification, are permitted provided that the following conditions are met: 10 | # 11 | # Redistributions of source code must retain the above copyright notice, this 12 | # list of conditions and the following disclaimer. 13 | # Redistributions in binary form must reproduce the above copyright notice, 14 | # this list of conditions and the following disclaimer in the documentation 15 | # and/or other materials provided with the distribution. 16 | # 17 | # Neither the name of the nor the names of its contributors may be 18 | # used to endorse or promote products derived from this software without 19 | # specific prior written permission. 20 | # 21 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | # OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | # 33 | 34 | BUILD_ROOT=../../../.. 35 | MODULE=shtml 36 | 37 | include $(BUILD_ROOT)/make/base.mk 38 | 39 | all:: 40 | 41 | HDRDEST=$(WORK_ROOT)/$(INCLUDE_SUBDIR)/shtml 42 | SOMETHING_EXPORTED=1 43 | 44 | local_pre_publish:: 45 | $(MKDIR_DASH_P) $(HDRDEST) 46 | $(CP) *.h $(HDRDEST) 47 | 48 | include $(BUILD_ROOT)/make/rules.mk 49 | -------------------------------------------------------------------------------- /src/server/safs/Makefile.cgistub: -------------------------------------------------------------------------------- 1 | # This makefile builds the cgistub 2 | # The reason for this being different is to prevnet it from linkign 3 | # against any threaded versions of libraries 4 | 5 | 6 | BUILD_ROOT=../../.. 7 | include ${BUILD_ROOT}/make/base.mk 8 | 9 | 10 | MODULE=LibSAFs 11 | 12 | 13 | C_FLAGS=-DUSING_NSAPI 14 | CC_FLAGS= 15 | LD_FLAGS= 16 | LD_LIBS= 17 | LD_LIBDIRS= 18 | LD_RPATHS= 19 | SYSTEM_LINK_LIBS= 20 | 21 | ifeq ($(BUILD_VARIANT),OPTIMIZED) 22 | ifeq ($(OS_ARCH),SunOS) 23 | C_FLAGS += -xO4 24 | endif 25 | ifeq ($(OS_ARCH),Linux) 26 | ifeq ($(OS_RELEASE),2.2) 27 | C_FLAGS += -O2 28 | else 29 | C_FLAGS += -O3 30 | endif 31 | endif 32 | ifeq ($(OS_ARCH),HP-UX) 33 | C_FLAGS += -O 34 | endif 35 | ifeq ($(OS_ARCH),AIX) 36 | C_FLAGS += -O2 37 | endif 38 | else # For all debug UNIX platforms 39 | C_FLAGS += -g 40 | endif 41 | 42 | ifeq ($(OS_ARCH),SunOS) 43 | C_FLAGS += -DSOLARIS 44 | LD_LIBS += -lsocket -lnsl -ldl 45 | LD_FLAGS += -norunpath 46 | ifeq ($(BUILD_ARCH),AMD64) 47 | C_FLAGS += -xarch=amd64 48 | LD_FLAGS += -xarch=amd64 49 | else 50 | ifeq ($(BUILD_ARCH),SPARCV9) 51 | C_FLAGS += -xarch=v9 52 | LD_FLAGS += -xarch=v9 53 | else 54 | ifneq ($(OS_CPU),i86pc) 55 | C_FLAGS += -xchip=ultra 56 | endif 57 | endif 58 | endif 59 | endif 60 | 61 | ifeq ($(OS_ARCH),AIX) 62 | ### Special flags to make recvmsg() still work 63 | C_FLAGS += -D_BSD=43 -DCOMPAT_43 -DAIX 64 | LD_LIBS = -lbsd 65 | endif 66 | 67 | ifneq ($(OS_ARCH),IRIX) 68 | C_FLAGS += -DHAVE_VFORK 69 | endif 70 | 71 | ifeq ($(OS_ARCH),OSF1) 72 | C_FLAGS += -DOSF1 -DOSF1V4_0 -verbose 73 | endif 74 | 75 | ifeq ($(OS_ARCH),HP-UX) 76 | C_FLAGS += -DHPUX +Z +DAportable +DS2.0 77 | endif 78 | 79 | ifeq ($(OS_ARCH),Linux) 80 | C_FLAGS += -DLINUX -DUSE_POSIXFDPASSING 81 | endif 82 | 83 | all:: 84 | 85 | EXE_TARGET=Cgistub 86 | EXE_OBJS=Cgistub 87 | 88 | SHIP_PRIVATE_BINARIES=Cgistub 89 | 90 | # this should always be last! 91 | include ${BUILD_ROOT}/make/rules.mk 92 | -------------------------------------------------------------------------------- /src/server/safs/aclinit.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | 35 | #ifndef ACLINIT_SAFS_H 36 | #define ACLINIT_SAFS_H 37 | 38 | NSPR_BEGIN_EXTERN_C 39 | 40 | NSPR_END_EXTERN_C 41 | 42 | #endif 43 | -------------------------------------------------------------------------------- /src/server/safs/cond.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef _COND_H 35 | #define _COND_H 36 | 37 | #include "frame/func.h" 38 | 39 | NSPR_BEGIN_EXTERN_C 40 | 41 | Func cond_match_variable; 42 | 43 | NSPR_END_EXTERN_C 44 | 45 | #endif /* _COND_H */ 46 | -------------------------------------------------------------------------------- /src/server/safs/control.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef _CONTROL_H 35 | #define _CONTROL_H 36 | 37 | PR_BEGIN_EXTERN_C 38 | 39 | PRStatus control_init(void); 40 | 41 | PR_END_EXTERN_C 42 | 43 | #endif /* _CONTROL_H */ 44 | -------------------------------------------------------------------------------- /src/server/safs/dbtsafs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/src/server/safs/dbtsafs.h -------------------------------------------------------------------------------- /src/server/safs/debug.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef _DEBUG_H 35 | #define _DEBUG_H 36 | 37 | #include "frame/func.h" 38 | 39 | NSPR_BEGIN_EXTERN_C 40 | 41 | Func service_debug; 42 | Func service_unit_tests; 43 | 44 | NSPR_END_EXTERN_C 45 | 46 | #endif /* _DEBUG_H */ 47 | -------------------------------------------------------------------------------- /src/server/safs/deprecated.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef DEPRECATED_H 35 | #define DEPRECATED_H 36 | 37 | #include "frame/func.h" 38 | 39 | NSPR_BEGIN_EXTERN_C 40 | 41 | Func nsapi_deprecated; 42 | 43 | NSPR_END_EXTERN_C 44 | 45 | #endif // DEPRECATED_H 46 | -------------------------------------------------------------------------------- /src/server/safs/dump.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef _DUMP_H 35 | #define _DUMP_H 36 | 37 | #include "frame/func.h" 38 | 39 | NSPR_BEGIN_EXTERN_C 40 | 41 | Func service_dumpstats; 42 | 43 | NSAPI_PUBLIC int write_stats_dump(PRFileDesc *fd, struct StatsHeaderNode *hdr); 44 | 45 | NSPR_END_EXTERN_C 46 | 47 | #endif /* _DUMP_H */ 48 | -------------------------------------------------------------------------------- /src/server/safs/errorbong.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | /* 35 | * Default directive declarations 36 | */ 37 | 38 | #ifndef _ERRORBONG_H 39 | #define _ERRORBONG_H 40 | 41 | #include "netsite.h" 42 | #include "frame/func.h" 43 | 44 | NSPR_BEGIN_EXTERN_C 45 | 46 | Func send_bong_file; 47 | 48 | NSPR_END_EXTERN_C 49 | 50 | #endif /* _ERRORBONG_H */ 51 | -------------------------------------------------------------------------------- /src/server/safs/favicon.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef _FAVICON_H 35 | #define _FAVICON_H 36 | 37 | #include "frame/func.h" 38 | 39 | Func service_favicon; 40 | 41 | NSAPI_PUBLIC void favicon_init(PRBool flag); 42 | 43 | #endif /* _FAVICON_H */ 44 | -------------------------------------------------------------------------------- /src/server/safs/headerfooter.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef _HEADERFOOTER_H 35 | #define _HEADERFOOTER_H 36 | 37 | #include "netsite.h" 38 | 39 | NSPR_BEGIN_EXTERN_C 40 | 41 | PRStatus headerfooter_init(void); 42 | Func pcheck_add_header; 43 | Func pcheck_add_footer; 44 | 45 | NSPR_END_EXTERN_C 46 | 47 | #endif /* _HEADERFOOTER_H */ 48 | -------------------------------------------------------------------------------- /src/server/safs/httpcompression.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef _HTTP_COMPRESSION_H 35 | #define _HTTP_COMPRESSION_H 36 | 37 | #include "netsite.h" 38 | 39 | NSPR_BEGIN_EXTERN_C 40 | 41 | PRStatus http_compression_init(void); 42 | Func find_compressed; 43 | Func compress_file; 44 | 45 | NSPR_END_EXTERN_C 46 | 47 | #endif /* _HTTP_COMPRESSION_H */ 48 | -------------------------------------------------------------------------------- /src/server/safs/init_fn.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef _INIT_FN_H_ 35 | #define _INIT_FN_H_ 36 | 37 | #include "base/session.h" 38 | #include "base/pblock.h" 39 | #include "frame/req.h" 40 | 41 | NSPR_BEGIN_EXTERN_C 42 | 43 | NSAPI_PUBLIC int 44 | register_http_method(pblock *param, Session *sn, Request *rq); 45 | 46 | NSPR_END_EXTERN_C 47 | 48 | #endif /* _INIT_FN_H_ */ 49 | -------------------------------------------------------------------------------- /src/server/safs/logsafs.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef _LOGSAFS_H 35 | #define _LOGSAFS_H 36 | 37 | #include "frame/func.h" 38 | 39 | NSPR_BEGIN_EXTERN_C 40 | 41 | Func logsafs_log; 42 | 43 | NSPR_END_EXTERN_C 44 | 45 | #endif /* _LOGSAFS_H */ 46 | -------------------------------------------------------------------------------- /src/server/safs/nsfcsafs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/src/server/safs/nsfcsafs.cpp -------------------------------------------------------------------------------- /src/server/safs/poolsafs.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | /* 35 | * Declarations for poolsafs 36 | */ 37 | 38 | #ifndef _POOLSAFS_H 39 | #define _POOLSAFS_H 40 | 41 | #include "netsite.h" 42 | #include "frame/func.h" 43 | 44 | NSPR_BEGIN_EXTERN_C 45 | 46 | int service_pool_dump(pblock *pb, Session *sn, Request *rq); 47 | 48 | NSPR_END_EXTERN_C 49 | 50 | #endif /* _POOLSAFS_H */ 51 | -------------------------------------------------------------------------------- /src/server/safs/preencrypted.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef _PREENCRYPTED_H 35 | #define _PREENCRYPTED_H 36 | 37 | NSPR_BEGIN_EXTERN_C 38 | Func service_preencrypted; 39 | NSPR_END_EXTERN_C 40 | 41 | #endif // _PREENCRYPTED_H 42 | -------------------------------------------------------------------------------- /src/server/safs/qos.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef _QOS_H 35 | #define _QOS_H 36 | 37 | #include "frame/func.h" 38 | #include 39 | 40 | NSPR_BEGIN_EXTERN_C 41 | 42 | /* NSAPI functions */ 43 | Func qos_handler; 44 | Func qos_error; 45 | 46 | NSPR_END_EXTERN_C 47 | 48 | #endif /* _QOS_H */ 49 | 50 | -------------------------------------------------------------------------------- /src/server/safs/reconfig.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef _RECONFIG_H 35 | #define _RECONFIG_H 36 | 37 | #include "frame/func.h" 38 | 39 | NSPR_BEGIN_EXTERN_C 40 | 41 | Func service_reconfig; 42 | 43 | NSPR_END_EXTERN_C 44 | 45 | #endif /* _RECONFIG_H */ 46 | -------------------------------------------------------------------------------- /src/server/safs/reqlimit.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef _REQLIMIT_H 35 | #define _REQLIMIT_H 36 | 37 | NSPR_BEGIN_EXTERN_C 38 | 39 | void reqlimit_init_crits(); 40 | int check_request_limits(pblock *pb, Session *sn, Request *rq); 41 | int init_request_limits(pblock *pb, Session *sn, Request *rq); 42 | 43 | NSPR_END_EXTERN_C 44 | 45 | #endif 46 | -------------------------------------------------------------------------------- /src/server/safs/sed.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef _SED_H 35 | #define _SED_H 36 | 37 | #include "netsite.h" 38 | 39 | NSPR_BEGIN_EXTERN_C 40 | 41 | PRStatus sed_init(void); 42 | 43 | NSPR_END_EXTERN_C 44 | 45 | #endif /* _SED_H */ 46 | -------------------------------------------------------------------------------- /src/server/safs/trace.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | /* 35 | * Default directive declarations 36 | */ 37 | 38 | #ifndef _TRACE_H 39 | #define _TRACE_H 40 | 41 | #include "frame/func.h" 42 | 43 | NSPR_BEGIN_EXTERN_C 44 | 45 | Func service_trace; 46 | 47 | NSPR_END_EXTERN_C 48 | 49 | #endif /* _TRACE_H */ 50 | -------------------------------------------------------------------------------- /src/server/shtml/NSBaseTagHandler.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #include "NSBaseTagHandler.h" 35 | 36 | NSBaseTagHandler::NSBaseTagHandler() 37 | { 38 | 39 | } 40 | 41 | 42 | NSBaseTagHandler::~NSBaseTagHandler() 43 | { 44 | } 45 | -------------------------------------------------------------------------------- /src/server/shtml/ShtmlDefines.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef _SHTML_DEFINES_H_ 35 | #define _SHTML_DEFINES_H_ 36 | 37 | enum SizeFmt {SIZE_KMG, SIZE_BYTES, UNKNOWN}; 38 | #define SHTML_PARAMSIZE 5 39 | 40 | #endif /*_SHTML_DEFINES_H_ */ 41 | -------------------------------------------------------------------------------- /src/server/shtml/ShtmlHelperFuncs.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef _SHTML_HELPER_FUNCS_H_ 35 | #define _SHTML_HELPER_FUNCS_H_ 36 | 37 | #include "prtypes.h" 38 | 39 | PRBool FilePathIsBad(const char* path); 40 | PRBool IsCgiType(const char* type); 41 | 42 | #endif /* _SHTML_HELPER_FUNCS_H_ */ 43 | -------------------------------------------------------------------------------- /src/server/shtml/dbtShtml.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/src/server/shtml/dbtShtml.h -------------------------------------------------------------------------------- /src/server/utils/true/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | # 4 | # Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | # 6 | # THE BSD LICENSE 7 | # 8 | # Redistribution and use in source and binary forms, with or without 9 | # modification, are permitted provided that the following conditions are met: 10 | # 11 | # Redistributions of source code must retain the above copyright notice, this 12 | # list of conditions and the following disclaimer. 13 | # Redistributions in binary form must reproduce the above copyright notice, 14 | # this list of conditions and the following disclaimer in the documentation 15 | # and/or other materials provided with the distribution. 16 | # 17 | # Neither the name of the nor the names of its contributors may be 18 | # used to endorse or promote products derived from this software without 19 | # specific prior written permission. 20 | # 21 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | # OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | # 33 | 34 | BUILD_ROOT=../../../.. 35 | MODULE=true 36 | 37 | include $(BUILD_ROOT)/make/base.mk 38 | 39 | EXE_TARGET=true 40 | EXE_OBJS=true 41 | SHIP_PRIVATE_BINARIES=$(EXE_TARGET) 42 | 43 | include $(BUILD_ROOT)/make/rules.mk 44 | -------------------------------------------------------------------------------- /src/server/utils/true/true.c: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | int main(void) 35 | { 36 | return 0; 37 | } 38 | -------------------------------------------------------------------------------- /src/server/uxwdog/Makefile: -------------------------------------------------------------------------------- 1 | BUILD_ROOT=../../.. 2 | MODULE=uxwdog 3 | USE_NSPR=1 4 | USE_CLIENTLIBS=1 5 | 6 | include $(BUILD_ROOT)/make/base.mk 7 | 8 | DEFINES+=-DENCRYPT_PASSWORDS -DBUILD_DLL 9 | 10 | LOCAL_INC+= -I.. 11 | 12 | EXE_TARGET=$(PRODUCT_WATCHDOG_BIN) 13 | EXE_OBJS=watchdog wdsignals wdpwd wdlog wdlsmgr 14 | 15 | ifdef FEAT_SMF 16 | EXE_OBJS+=wdsmf wdutil 17 | endif 18 | 19 | ifneq ($(OS_ARCH),AIX) 20 | EXE_LIBDIRS+=../base/$(OBJDIR) 21 | EXE_LIBS+=libbase 22 | else 23 | # Link in only necessary files on AIX since the linker expects all references 24 | # in libbase to be resolved otherwise 25 | BASE_OBJS=unix_utils wdservermessage 26 | EXE_NONPARSED_OBJS=$(addprefix ../base/$(OBJDIR)/, \ 27 | $(BASE_OBJS:=.$(OBJ))) 28 | endif 29 | 30 | SHIP_PRIVATE_BINARIES=$(EXE_TARGET) 31 | 32 | include $(BUILD_ROOT)/make/rules.mk 33 | -------------------------------------------------------------------------------- /src/server/uxwdog/wdutil.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef WD_UTIL_H 35 | #define WD_UTIL_H 36 | 37 | char **util_env_create(char **env, int n, int *pos); 38 | void util_env_free(char **env); 39 | char **util_argv_parse(const char *cmdline); 40 | 41 | #endif /* !WD_UTIL_H */ 42 | 43 | 44 | -------------------------------------------------------------------------------- /src/server/webservd/dbthttpdsrc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/src/server/webservd/dbthttpdsrc.h -------------------------------------------------------------------------------- /src/server/webservd/key.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/src/server/webservd/key.ico -------------------------------------------------------------------------------- /src/server/webservd/libns-httpd40.versions: -------------------------------------------------------------------------------- 1 | sparc { 2 | SUNW_1.2; 3 | SUNW_1.1; 4 | SUNWprivate; 5 | } 6 | sparcv9 { 7 | SUNW_1.2; 8 | SUNW_1.1; 9 | SUNWprivate; 10 | } 11 | i386 { 12 | SUNW_1.2; 13 | SUNW_1.1; 14 | SUNWprivate; 15 | } 16 | -------------------------------------------------------------------------------- /src/server/webservd/smartheapdummy.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #include 35 | 36 | char SmartHeapVersionString[] = "Dummy SmartHeap Shared Object"; 37 | 38 | extern "C" void MemRegisterTask(void) 39 | { 40 | putenv("SMARTHEAP=DISABLED"); 41 | } 42 | 43 | -------------------------------------------------------------------------------- /src/support/Cld/libCld.spec: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | # 4 | # Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | # 6 | # THE BSD LICENSE 7 | # 8 | # Redistribution and use in source and binary forms, with or without 9 | # modification, are permitted provided that the following conditions are met: 10 | # 11 | # Redistributions of source code must retain the above copyright notice, this 12 | # list of conditions and the following disclaimer. 13 | # Redistributions in binary form must reproduce the above copyright notice, 14 | # this list of conditions and the following disclaimer in the documentation 15 | # and/or other materials provided with the distribution. 16 | # 17 | # Neither the name of the nor the names of its contributors may be 18 | # used to endorse or promote products derived from this software without 19 | # specific prior written permission. 20 | # 21 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | # OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | # 33 | 34 | function _ex_register 35 | arch all 36 | version SUNWprivate 37 | end 38 | 39 | function _fini 40 | arch all 41 | version SUNWprivate 42 | end 43 | 44 | function _init 45 | arch all 46 | version SUNWprivate 47 | end 48 | 49 | -------------------------------------------------------------------------------- /src/support/Cld/libCld.versions: -------------------------------------------------------------------------------- 1 | sparc { 2 | SUNWprivate; 3 | } 4 | sparcv9 { 5 | SUNWprivate; 6 | } 7 | i386 { 8 | SUNWprivate; 9 | } 10 | -------------------------------------------------------------------------------- /src/support/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | # 4 | # Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | # 6 | # THE BSD LICENSE 7 | # 8 | # Redistribution and use in source and binary forms, with or without 9 | # modification, are permitted provided that the following conditions are met: 10 | # 11 | # Redistributions of source code must retain the above copyright notice, this 12 | # list of conditions and the following disclaimer. 13 | # Redistributions in binary form must reproduce the above copyright notice, 14 | # this list of conditions and the following disclaimer in the documentation 15 | # and/or other materials provided with the distribution. 16 | # 17 | # Neither the name of the nor the names of its contributors may be 18 | # used to endorse or promote products derived from this software without 19 | # specific prior written permission. 20 | # 21 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | # OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | # 33 | 34 | BUILD_ROOT=../.. 35 | 36 | MODULE=global 37 | include $(BUILD_ROOT)/make/base.mk 38 | 39 | DIRS= \ 40 | xp \ 41 | NsprWrap \ 42 | support \ 43 | time \ 44 | ares \ 45 | filecache \ 46 | threadpool \ 47 | libdbm \ 48 | libxsd2cpp 49 | 50 | ifdef FEAT_CLD 51 | DIRS+=Cld 52 | endif 53 | 54 | include $(BUILD_ROOT)/make/rules.mk 55 | -------------------------------------------------------------------------------- /src/support/NsprWrap/ConditionVar.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/src/support/NsprWrap/ConditionVar.h -------------------------------------------------------------------------------- /src/support/NsprWrap/CriticalSection.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/src/support/NsprWrap/CriticalSection.h -------------------------------------------------------------------------------- /src/support/NsprWrap/NsprThunk.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/src/support/NsprWrap/NsprThunk.rc -------------------------------------------------------------------------------- /src/support/NsprWrap/PlcThunk.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/src/support/NsprWrap/PlcThunk.rc -------------------------------------------------------------------------------- /src/support/NsprWrap/libnsprwrap.versions: -------------------------------------------------------------------------------- 1 | sparc { 2 | SUNWprivate; 3 | } 4 | sparcv9 { 5 | SUNWprivate; 6 | } 7 | i386 { 8 | SUNWprivate; 9 | } 10 | -------------------------------------------------------------------------------- /src/support/ares/libares3.versions: -------------------------------------------------------------------------------- 1 | sparc { 2 | SUNWprivate; 3 | } 4 | sparcv9 { 5 | SUNWprivate; 6 | } 7 | i386 { 8 | SUNWprivate; 9 | } 10 | -------------------------------------------------------------------------------- /src/support/filecache/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/src/support/filecache/Makefile -------------------------------------------------------------------------------- /src/support/filecache/alloc.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/src/support/filecache/alloc.cpp -------------------------------------------------------------------------------- /src/support/filecache/filecopy.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/src/support/filecache/filecopy.cpp -------------------------------------------------------------------------------- /src/support/filecache/fileio.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/src/support/filecache/fileio.cpp -------------------------------------------------------------------------------- /src/support/filecache/filename.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/src/support/filecache/filename.cpp -------------------------------------------------------------------------------- /src/support/filecache/init.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/src/support/filecache/init.cpp -------------------------------------------------------------------------------- /src/support/filecache/instance.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/src/support/filecache/instance.cpp -------------------------------------------------------------------------------- /src/support/filecache/libnsfc.versions: -------------------------------------------------------------------------------- 1 | sparc { 2 | SUNWprivate; 3 | } 4 | sparcv9 { 5 | SUNWprivate; 6 | } 7 | i386 { 8 | SUNWprivate; 9 | } 10 | -------------------------------------------------------------------------------- /src/support/filecache/md_unix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/src/support/filecache/md_unix.cpp -------------------------------------------------------------------------------- /src/support/filecache/md_unix.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/src/support/filecache/md_unix.h -------------------------------------------------------------------------------- /src/support/filecache/md_win32.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/src/support/filecache/md_win32.cpp -------------------------------------------------------------------------------- /src/support/filecache/md_win32.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/src/support/filecache/md_win32.h -------------------------------------------------------------------------------- /src/support/filecache/nsfc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/src/support/filecache/nsfc.h -------------------------------------------------------------------------------- /src/support/filecache/nsfc_pvt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/src/support/filecache/nsfc_pvt.h -------------------------------------------------------------------------------- /src/support/libdbm/liblibdbm.versions: -------------------------------------------------------------------------------- 1 | sparc { 2 | SUNWprivate; 3 | } 4 | sparcv9 { 5 | SUNWprivate; 6 | } 7 | i386 { 8 | SUNWprivate; 9 | } 10 | -------------------------------------------------------------------------------- /src/support/libdbm/makefile.win: -------------------------------------------------------------------------------- 1 | !include $(MOZ_SRC)\ns\config\rules.mak 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/support/support/PseudoRandomGenerator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/src/support/support/PseudoRandomGenerator.cpp -------------------------------------------------------------------------------- /src/support/support/PseudoRandomGenerator.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/src/support/support/PseudoRandomGenerator.h -------------------------------------------------------------------------------- /src/support/support/libsupport.versions: -------------------------------------------------------------------------------- 1 | sparc { 2 | SUNWprivate; 3 | } 4 | sparcv9 { 5 | SUNWprivate; 6 | } 7 | i386 { 8 | SUNWprivate; 9 | } 10 | -------------------------------------------------------------------------------- /src/support/threadpool/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/src/support/threadpool/Makefile -------------------------------------------------------------------------------- /src/support/threadpool/libnstp.versions: -------------------------------------------------------------------------------- 1 | sparc { 2 | SUNWprivate; 3 | } 4 | sparcv9 { 5 | SUNWprivate; 6 | } 7 | i386 { 8 | SUNWprivate; 9 | } 10 | -------------------------------------------------------------------------------- /src/support/threadpool/nstp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/src/support/threadpool/nstp.cpp -------------------------------------------------------------------------------- /src/support/threadpool/nstp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/src/support/threadpool/nstp.h -------------------------------------------------------------------------------- /src/support/threadpool/nstp_pvt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/src/support/threadpool/nstp_pvt.h -------------------------------------------------------------------------------- /src/support/time/clockthread.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | * 4 | * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * THE BSD LICENSE 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are met: 10 | * 11 | * Redistributions of source code must retain the above copyright notice, this 12 | * list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 17 | * Neither the name of the nor the names of its contributors may be 18 | * used to endorse or promote products derived from this software without 19 | * specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | /* 35 | * clockthread.h - Platform independent clockthread 36 | * 37 | */ 38 | 39 | #ifndef _CLOCKTHREAD_H_ 40 | #define _CLOCKTHREAD_H_ 41 | 42 | PRBool ft_init(); 43 | 44 | #endif 45 | -------------------------------------------------------------------------------- /src/support/time/libnstime.versions: -------------------------------------------------------------------------------- 1 | sparc { 2 | SUNWprivate; 3 | } 4 | sparcv9 { 5 | SUNWprivate; 6 | } 7 | i386 { 8 | SUNWprivate; 9 | } 10 | -------------------------------------------------------------------------------- /src/support/time/xp_time.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/src/support/time/xp_time.cpp -------------------------------------------------------------------------------- /src/tools/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | # 4 | # Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | # 6 | # THE BSD LICENSE 7 | # 8 | # Redistribution and use in source and binary forms, with or without 9 | # modification, are permitted provided that the following conditions are met: 10 | # 11 | # Redistributions of source code must retain the above copyright notice, this 12 | # list of conditions and the following disclaimer. 13 | # Redistributions in binary form must reproduce the above copyright notice, 14 | # this list of conditions and the following disclaimer in the documentation 15 | # and/or other materials provided with the distribution. 16 | # 17 | # Neither the name of the nor the names of its contributors may be 18 | # used to endorse or promote products derived from this software without 19 | # specific prior written permission. 20 | # 21 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | # OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | # 33 | 34 | BUILD_ROOT=../.. 35 | 36 | MODULE=tools 37 | include $(BUILD_ROOT)/make/base.mk 38 | 39 | DIRS= \ 40 | txt2c \ 41 | bin2c \ 42 | httptest 43 | 44 | include $(BUILD_ROOT)/make/rules.mk 45 | -------------------------------------------------------------------------------- /src/tools/bin2c/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | # 4 | # Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | # 6 | # THE BSD LICENSE 7 | # 8 | # Redistribution and use in source and binary forms, with or without 9 | # modification, are permitted provided that the following conditions are met: 10 | # 11 | # Redistributions of source code must retain the above copyright notice, this 12 | # list of conditions and the following disclaimer. 13 | # Redistributions in binary form must reproduce the above copyright notice, 14 | # this list of conditions and the following disclaimer in the documentation 15 | # and/or other materials provided with the distribution. 16 | # 17 | # Neither the name of the nor the names of its contributors may be 18 | # used to endorse or promote products derived from this software without 19 | # specific prior written permission. 20 | # 21 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | # OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | # 33 | 34 | BUILD_ROOT=../../.. 35 | MODULE=tools 36 | 37 | include $(BUILD_ROOT)/make/base.mk 38 | 39 | EXE_TARGET=bin2c 40 | EXE_OBJS=bin2c 41 | EXPORT_BINARIES=bin2c 42 | 43 | include $(BUILD_ROOT)/make/rules.mk 44 | -------------------------------------------------------------------------------- /src/tools/txt2c/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | # 4 | # Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | # 6 | # THE BSD LICENSE 7 | # 8 | # Redistribution and use in source and binary forms, with or without 9 | # modification, are permitted provided that the following conditions are met: 10 | # 11 | # Redistributions of source code must retain the above copyright notice, this 12 | # list of conditions and the following disclaimer. 13 | # Redistributions in binary form must reproduce the above copyright notice, 14 | # this list of conditions and the following disclaimer in the documentation 15 | # and/or other materials provided with the distribution. 16 | # 17 | # Neither the name of the nor the names of its contributors may be 18 | # used to endorse or promote products derived from this software without 19 | # specific prior written permission. 20 | # 21 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | # OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | # 33 | 34 | BUILD_ROOT=../../.. 35 | MODULE=tools 36 | 37 | include $(BUILD_ROOT)/make/base.mk 38 | 39 | EXE_TARGET=txt2c 40 | EXE_OBJS=txt2c 41 | EXPORT_BINARIES=txt2c 42 | 43 | include $(BUILD_ROOT)/make/rules.mk 44 | -------------------------------------------------------------------------------- /templates/README: -------------------------------------------------------------------------------- 1 | 2 | Now that you've extracted the tarball, there are still a couple steps 3 | to do before you can run the server. 4 | 5 | 1. Run the post-install script: 6 | 7 | % ./bin/post-install 8 | 9 | This will fill in the current location into a few template files. 10 | 11 | Note: This ties the installation to the current filesystem location. 12 | If you want to run it elsewhere, extract the tarball there first and 13 | then run the post-install script. 14 | 15 | 2. Create a server instance: 16 | 17 | % ./bin/create-instance 18 | 19 | Answer the prompts, most defaults are probably ok. This will create 20 | the actual server instance. If all goes well you should be able to 21 | start the server now: 22 | 23 | % cd https-* (* is the name you picked) 24 | % ./bin/startserv 25 | 26 | -------------------------------------------------------------------------------- /templates/config/default.acl.template: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | # 4 | # Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | # 6 | # THE BSD LICENSE 7 | # 8 | # Redistribution and use in source and binary forms, with or without 9 | # modification, are permitted provided that the following conditions are met: 10 | # 11 | # Redistributions of source code must retain the above copyright notice, this 12 | # list of conditions and the following disclaimer. 13 | # Redistributions in binary form must reproduce the above copyright notice, 14 | # this list of conditions and the following disclaimer in the documentation 15 | # and/or other materials provided with the distribution. 16 | # 17 | # Neither the name of the nor the names of its contributors may be 18 | # used to endorse or promote products derived from this software without 19 | # specific prior written permission. 20 | # 21 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | # OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | # 33 | 34 | version 3.0; 35 | acl "default"; 36 | authenticate (user, group) { 37 | prompt = "Open Web Server"; 38 | }; 39 | allow (read, execute, info) user = "anyone"; 40 | allow (list, write, delete) user = "all"; 41 | 42 | acl "es-internal"; 43 | allow (read, execute, info) user = "anyone"; 44 | deny (list, write, delete) user = "anyone"; 45 | 46 | -------------------------------------------------------------------------------- /templates/config/keyfile.template: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | # 4 | # Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | # 6 | # THE BSD LICENSE 7 | # 8 | # Redistribution and use in source and binary forms, with or without 9 | # modification, are permitted provided that the following conditions are met: 10 | # 11 | # Redistributions of source code must retain the above copyright notice, this 12 | # list of conditions and the following disclaimer. 13 | # Redistributions in binary form must reproduce the above copyright notice, 14 | # this list of conditions and the following disclaimer in the documentation 15 | # and/or other materials provided with the distribution. 16 | # 17 | # Neither the name of the nor the names of its contributors may be 18 | # used to endorse or promote products derived from this software without 19 | # specific prior written permission. 20 | # 21 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | # OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | # 33 | 34 | # List of users for simple file realm. Empty by default. 35 | 36 | -------------------------------------------------------------------------------- /templates/config/magnus.conf.template: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | # 4 | # Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | # 6 | # THE BSD LICENSE 7 | # 8 | # Redistribution and use in source and binary forms, with or without 9 | # modification, are permitted provided that the following conditions are met: 10 | # 11 | # Redistributions of source code must retain the above copyright notice, this 12 | # list of conditions and the following disclaimer. 13 | # Redistributions in binary form must reproduce the above copyright notice, 14 | # this list of conditions and the following disclaimer in the documentation 15 | # and/or other materials provided with the distribution. 16 | # 17 | # Neither the name of the nor the names of its contributors may be 18 | # used to endorse or promote products derived from this software without 19 | # specific prior written permission. 20 | # 21 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | # OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | # 33 | 34 | -------------------------------------------------------------------------------- /templates/docs/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

Welcome back... 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /templates/icons/back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/templates/icons/back.png -------------------------------------------------------------------------------- /templates/icons/binary.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/templates/icons/binary.png -------------------------------------------------------------------------------- /templates/icons/blank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/templates/icons/blank.png -------------------------------------------------------------------------------- /templates/icons/c.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/templates/icons/c.png -------------------------------------------------------------------------------- /templates/icons/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/templates/icons/image.png -------------------------------------------------------------------------------- /templates/icons/menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/templates/icons/menu.png -------------------------------------------------------------------------------- /templates/icons/movie.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/templates/icons/movie.png -------------------------------------------------------------------------------- /templates/icons/sound.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/templates/icons/sound.png -------------------------------------------------------------------------------- /templates/icons/text.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/templates/icons/text.png -------------------------------------------------------------------------------- /templates/icons/unknown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvirkki/heliod/efdf2d105e342317bd092bab2d727713da546174/templates/icons/unknown.png -------------------------------------------------------------------------------- /templates/lib/wsenv.template: -------------------------------------------------------------------------------- 1 | # 2 | # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 | # 4 | # Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5 | # 6 | # THE BSD LICENSE 7 | # 8 | # Redistribution and use in source and binary forms, with or without 9 | # modification, are permitted provided that the following conditions are met: 10 | # 11 | # Redistributions of source code must retain the above copyright notice, this 12 | # list of conditions and the following disclaimer. 13 | # Redistributions in binary form must reproduce the above copyright notice, 14 | # this list of conditions and the following disclaimer in the documentation 15 | # and/or other materials provided with the distribution. 16 | # 17 | # Neither the name of the nor the names of its contributors may be 18 | # used to endorse or promote products derived from this software without 19 | # specific prior written permission. 20 | # 21 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 25 | # OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 | # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27 | # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28 | # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29 | # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30 | # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31 | # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | # 33 | 34 | WS_INSTALLROOT="%%%WS_INSTALL_ROOT%%%"; export WS_INSTALLROOT 35 | WS_INSTANCEROOT="%%%WS_INSTANCE_ROOT%%%"; export WS_INSTANCEROOT 36 | --------------------------------------------------------------------------------