// Borland C++ Builder
// Copyright (c) 1995, 2005 by Borland Software Corporation
// All rights reserved

// (DO NOT EDIT: machine generated header) 'Ns36fix.pas' rev: 10.00

#ifndef Ns36fixHPP
#define Ns36fixHPP

#pragma delphiheader begin
#pragma option push
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member functions
#pragma pack(push,8)
#include <System.hpp>	// Pascal unit
#include <Sysinit.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <Nsapi.hpp>	// Pascal unit

//-- user supplied -----------------------------------------------------------

namespace Ns36fix
{
//-- type declarations -------------------------------------------------------
//-- var, const, procedure ---------------------------------------------------
#define nshttp "ns-httpd36.dll"
extern PACKAGE Nsapi::PPbParam __fastcall pblock_remove(char * name, Nsapi::PPblock pb);
extern PACKAGE char * __fastcall session_dns(Nsapi::PSession sn);
extern PACKAGE AnsiString __fastcall NSstr2String(char * nsStr);
extern "C" char * __cdecl system_version(void);
extern "C" void __cdecl system_free(void * ptr);
extern "C" void __cdecl magnus_atrestart(Nsapi::TAtRestart fn, void * data);
extern "C" Nsapi::SYS_FILE __cdecl system_fopenWA(char * path);
extern "C" void __cdecl system_fclose(Nsapi::SYS_FILE fd);
extern "C" int __cdecl system_fwrite_atomic(Nsapi::SYS_FILE fd, void * buf, int sz);
extern "C" int __cdecl param_free(Nsapi::PPbParam pp);
extern "C" Nsapi::PPblock __cdecl pblock_create(int n);
extern "C" void __cdecl pblock_free(Nsapi::PPblock pb);
extern "C" char * __cdecl pblock_findval(char * name, Nsapi::PPblock pb);
extern "C" Nsapi::PPbParam __cdecl pblock_nvinsert(char * name, char * value, Nsapi::PPblock pb);
extern "C" Nsapi::PPbParam __cdecl pblock_nninsert(char * name, int value, Nsapi::PPblock pb);
extern "C" char * __cdecl pblock_pblock2str(Nsapi::PPblock pb, char * str);
extern "C" void __cdecl pblock_copy(Nsapi::PPblock src, Nsapi::PPblock dst);
extern "C" Nsapi::PPbParam __cdecl _pblock_fr(char * name, Nsapi::PPblock pb, BOOL remove);
extern "C" int __cdecl net_read(int sd, char * buf, int sz, int timeout);
extern "C" int __cdecl net_write(int sd, char * buf, int sz);
extern "C" BOOL __cdecl net_isalive(int sd);
extern "C" char * __cdecl session_dns_lookup(Nsapi::PSession sn, BOOL verify);
extern "C" int __cdecl shexp_casecmp(char * str, char * exp);
extern "C" Nsapi::PPCharArray __cdecl util_env_create(Nsapi::PPCharArray env, int n, int &pos);
extern "C" char * __cdecl util_env_str(char * name, char * value);
extern "C" void __cdecl util_env_free(Nsapi::PPCharArray env);
extern "C" char * __cdecl util_env_find(Nsapi::PPCharArray env, char * name);
extern "C" Nsapi::PHttpdObject __cdecl objset_findbyname(char * name, Nsapi::PHttpdObjSet ign, Nsapi::PHttpdObjSet os);
extern "C" Nsapi::PConfGlobalVars __cdecl conf_getglobals(void);
extern "C" char * __cdecl request_translate_uri(char * uri, Nsapi::PSession sn);
extern "C" int __cdecl http_scan_headers(Nsapi::PSession sn, Nsapi::PNetBuf buf, char * t, Nsapi::PPblock headers);
extern "C" int __cdecl http_start_response(Nsapi::PSession sn, Nsapi::PRequest rq);
extern "C" Nsapi::PPCharArray __cdecl http_hdrs2env(Nsapi::PPblock pb);
extern "C" void __cdecl http_status(Nsapi::PSession sn, Nsapi::PRequest rq, int n, char * r);

}	/* namespace Ns36fix */
using namespace Ns36fix;
#pragma pack(pop)
#pragma option pop

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// Ns36fix
