mirror of
https://github.com/moparisthebest/Simba
synced 2024-12-03 22:22:19 -05:00
7f00bb6805
commit7426db160f
Author: Merlijn Wajer <merlijn@wizzup.org> Date: Fri Aug 5 11:40:27 2011 +0200 Lape: Update HEAD. commit6fa1740ea7
Author: Niels <niels.a.d@gmail.com> Date: Thu Aug 4 23:07:35 2011 +0200 Simba compiles again now. commit27b1c42b6a
Author: Niels <niels.a.d@gmail.com> Date: Thu Aug 4 00:31:28 2011 +0200 Little bugfix in lape wrapper generator + new wrappers. commitf46f841658
Author: Niels <niels.a.d@gmail.com> Date: Thu Aug 4 00:00:54 2011 +0200 Commented functions that cannot be imported yet for lape. commitb7aa543b6b
Author: Niels <niels.a.d@gmail.com> Date: Wed Aug 3 23:54:54 2011 +0200 New lape wrappers. commitecfc435fab
Author: Niels <niels.a.d@gmail.com> Date: Wed Aug 3 23:49:54 2011 +0200 Fixed a bug in lape wrapper generation. commit2d9d65000b
Author: Merlijn Wajer <merlijn@wizzup.org> Date: Wed Aug 3 21:52:01 2011 +0200 Lape: Most types added. Interpreter starts. Lacks a few methods, but most tests just work. :-) commitbf0f806ecf
Author: Niels <niels.a.d@gmail.com> Date: Wed Aug 3 21:06:56 2011 +0200 Added debug message for when initializing the interpreter fails. commita143016beb
Author: Merlijn Wajer <merlijn@wizzup.org> Date: Wed Aug 3 20:30:11 2011 +0200 Lape-wrappers: Fix by nielsie95. commit9deb9a1b67
Author: Merlijn Wajer <merlijn@wizzup.org> Date: Wed Aug 3 20:29:48 2011 +0200 Lape: Add wrappers. commit510674570b
Author: Merlijn Wajer <merlijn@wizzup.org> Date: Wed Aug 3 20:12:26 2011 +0200 Lape: Update HEAD. commit8260840b89
Author: Merlijn Wajer <merlijn@wizzup.org> Date: Wed Aug 3 14:34:48 2011 +0200 Lape: Update HEAD. commit64bf115d30
Merge:0701e91
aaafd6b
Author: Merlijn Wajer <merlijn@wizzup.org> Date: Mon Aug 1 19:26:15 2011 +0200 Merge branch 'master' into lape-integration commit0701e911d1
Merge:26693f7
a20a31a
Author: Merlijn Wajer <merlijn@wizzup.org> Date: Sun Jul 31 18:11:58 2011 +0200 Merge branch 'master' into lape-integration commit26693f7d4d
Merge:e124ae3
da0de6e
Author: Merlijn Wajer <merlijn@wizzup.org> Date: Sat Jul 30 00:16:12 2011 +0200 Merge branch 'master' into lape-integration commite124ae396a
Merge:4c6f304
c1051ef
Author: Merlijn Wajer <merlijn@wizzup.org> Date: Thu Jul 28 20:53:01 2011 +0200 Merge branch 'lape-integration' of github.com:MerlijnWajer/Simba into lape-integration commit4c6f30462c
Author: Merlijn Wajer <merlijn@wizzup.org> Date: Thu Jul 28 20:52:13 2011 +0200 Lape: Update head. commit2d8fdc4d7a
Author: Merlijn Wajer <merlijn@wizzup.org> Date: Thu Jul 28 20:08:01 2011 +0200 Lape: Add Wrappers project. commite4f8e06f1c
Merge:7228a88
1fd51ff
Author: Merlijn Wajer <merlijn@wizzup.org> Date: Thu Jul 28 20:03:39 2011 +0200 Merge branch 'master' into lape-integration Conflicts: Projects/Simba/Simba.inc commitc1051efbeb
Merge:7228a88
b83a277
Author: Merlijn Wajer <merlijn@wizzup.org> Date: Sat Jul 23 13:41:15 2011 -0700 Merge pull request #30 from Dgby714/lape-integration TLPThread Update commit7228a888c4
Merge:ad2e3ca
e63dcbc
Author: Merlijn Wajer <merlijn@wizzup.org> Date: Sat Jul 23 21:54:58 2011 +0200 Merge branch 'master' into lape-integration Conflicts: Projects/Simba/Simba.inc Projects/Simba/simbaunit.pas Units/lape commitb83a277502
Author: John P (Dgby714) <Dgby714@gmail.com> Date: Thu Jul 7 12:22:51 2011 -0400 TLPThread Update - Init Result to False in OnHandleDirective. - Override lape _writeln, Now adds to Debug memo. commitad2e3ca3c3
Merge:1a22452
c79eadf
Author: Merlijn Wajer <merlijn@wizzup.org> Date: Sat Jun 25 15:50:58 2011 -0700 Merge pull request #25 from Dgby714/la-pe Lape commit1a224529f3
Merge:5dc7611
89f1a9b
Author: Merlijn Wajer <merlijn@wizzup.org> Date: Sun Jun 26 00:49:03 2011 +0200 Merge branch 'master' into lape-integration commitc79eadf1ef
Author: John P (Dgby714) <Dgby714@gmail.com> Date: Sat Jun 25 18:43:17 2011 -0400 TLPThread update, Uncommented Lape Defines commit4d15ee07d5
Merge:89f1a9b
5dc7611
Author: John P (Dgby714) <Dgby714@gmail.com> Date: Sat Jun 25 17:23:24 2011 -0400 Merge branch 'lape-integration' of git://github.com/MerlijnWajer/Simba into la-pe commit5dc7611dba
Author: John P (Dgby714) <Dgby714@gmail.com> Date: Sat Jun 25 07:35:20 2011 -0400 TLPThread update, Lape settings, Add Lape unit to OtherUnitFiles commite5812a8000
Author: John P (Dgby714) <Dgby714@gmail.com> Date: Thu Jun 16 21:26:03 2011 -0400 Lape Integration, TLPThread work commitecab4d5801
Author: Merlijn Wajer <merlijn@wizzup.org> Date: Sat Jun 25 17:45:24 2011 +0200 Lape: Add lape submodule.
125 lines
3.5 KiB
PHP
125 lines
3.5 KiB
PHP
procedure Lape_OpenWebPage(const Params: PParamArray);
|
|
begin
|
|
ps_OpenWebPage(Pstring(Params^[0])^);
|
|
end;
|
|
|
|
procedure Lape_GetPage(const Params: PParamArray; const Result: Pointer);
|
|
begin
|
|
PString(Result)^ := ps_GetPage(PString(Params^[0])^);
|
|
end;
|
|
|
|
procedure Lape_InitializeHTTPClient(const Params: PParamArray; const Result: Pointer);
|
|
begin
|
|
PInteger(Result)^ := ps_InitializeHTTPClient(PBoolean(Params^[0])^);
|
|
end;
|
|
|
|
procedure Lape_FreeHTTPClient(const Params: PParamArray);
|
|
begin
|
|
ps_FreeHTTPClient(PInteger(Params^[0])^);
|
|
end;
|
|
|
|
procedure Lape_GetHTTPPage(const Params: PParamArray; const Result: Pointer);
|
|
begin
|
|
Pstring(Result)^ := ps_GetHTTPPage(PInteger(Params^[0])^, Pstring(Params^[1])^);
|
|
end;
|
|
|
|
procedure Lape_SetHTTPUserAgent(const Params: PParamArray);
|
|
begin
|
|
ps_SetHTTPUserAgent(PInteger(Params^[0])^, Pstring(Params^[1])^);
|
|
end;
|
|
|
|
procedure Lape_PostHTTPPage(const Params: PParamArray; const Result: Pointer);
|
|
begin
|
|
Pstring(Result)^ := ps_PostHTTPPage(PInteger(Params^[0])^, Pstring(Params^[1])^, Pstring(Params^[2])^);
|
|
end;
|
|
|
|
procedure Lape_PostHTTPPageEx(const Params: PParamArray; const Result: Pointer);
|
|
begin
|
|
Pstring(Result)^ := ps_PostHTTPPageEx(PInteger(Params^[0])^, Pstring(Params^[1])^);
|
|
end;
|
|
|
|
procedure Lape_ClearPostData(const Params: PParamArray);
|
|
begin
|
|
ps_ClearPostData(PInteger(Params^[0])^);
|
|
end;
|
|
|
|
procedure Lape_AddPostVariable(const Params: PParamArray);
|
|
begin
|
|
ps_AddPostVariable(PInteger(Params^[0])^, Pstring(Params^[1])^, Pstring(Params^[2])^);
|
|
end;
|
|
|
|
procedure Lape_GetRawHeaders(const Params: PParamArray; const Result: Pointer);
|
|
begin
|
|
Pstring(Result)^ := ps_GetRawHeaders(PInteger(Params^[0])^);
|
|
end;
|
|
|
|
procedure Lape_SetProxy(const Params: PParamArray);
|
|
begin
|
|
ps_SetProxy(PInteger(Params^[0])^, PString(Params^[1])^, PString(Params^[2])^);
|
|
end;
|
|
|
|
procedure Lape_RecvSocketStr(const Params: PParamArray; const Result: Pointer);
|
|
begin
|
|
Pstring(Result)^ := ps_RecvSocketStr(Pinteger(Params^[0])^);
|
|
end;
|
|
|
|
procedure Lape_RecvSocket(const Params: PParamArray; const Result: Pointer);
|
|
begin
|
|
Pstring(Result)^ := ps_RecvSocket(Pinteger(Params^[0])^);
|
|
end;
|
|
|
|
procedure Lape_RecvSocketEx(const Params: PParamArray; const Result: Pointer);
|
|
begin
|
|
Pstring(Result)^ := ps_RecvSocketEx(Pinteger(Params^[0])^, Pinteger(Params^[1])^);
|
|
end;
|
|
|
|
procedure Lape_SendSocket(const Params: PParamArray);
|
|
begin
|
|
ps_SendSocket(Pinteger(Params^[0])^, Pstring(Params^[1])^);
|
|
end;
|
|
|
|
procedure Lape_ConnectSocket(const Params: PParamArray);
|
|
begin
|
|
ps_ConnectSocket(Pinteger(Params^[0])^, Pstring(Params^[1])^, Pstring(Params^[2])^);
|
|
end;
|
|
|
|
procedure Lape_CloseSocket(const Params: PParamArray);
|
|
begin
|
|
ps_CloseSocket(Pinteger(Params^[0])^);
|
|
end;
|
|
|
|
procedure Lape_SetSocketTimeout(const Params: PParamArray);
|
|
begin
|
|
ps_SetSocketTimeout(Pinteger(Params^[0])^, Pinteger(Params^[1])^);
|
|
end;
|
|
|
|
procedure Lape_BindSocket(const Params: PParamArray);
|
|
begin
|
|
ps_BindSocket(Pinteger(Params^[0])^, Pstring(Params^[1])^, Pstring(Params^[2])^);
|
|
end;
|
|
|
|
procedure Lape_ListenSocket(const Params: PParamArray);
|
|
begin
|
|
ps_ListenSocket(Pinteger(Params^[0])^);
|
|
end;
|
|
|
|
procedure Lape_AcceptSocket(const Params: PParamArray; const Result: Pointer);
|
|
begin
|
|
Pinteger(Result)^ := ps_AcceptSocket(Pinteger(Params^[0])^);
|
|
end;
|
|
|
|
procedure Lape_SocketInfo(const Params: PParamArray);
|
|
begin
|
|
ps_SocketInfo(Pinteger(Params^[0])^, Pstring(Params^[1])^, Pstring(Params^[2])^);
|
|
end;
|
|
|
|
procedure Lape_CreateSocket(const Params: PParamArray; const Result: Pointer);
|
|
begin
|
|
Pinteger(Result)^ := ps_CreateSocket();
|
|
end;
|
|
|
|
procedure Lape_FreeSocket(const Params: PParamArray);
|
|
begin
|
|
ps_FreeSocket(Pinteger(Params^[0])^);
|
|
end;
|