lspawnfcgi.pp 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. { lNet FastCGI Spawner
  2. CopyRight (C) 2006-2008 Ales Katona
  3. This library is Free software; you can rediStribute it and/or modify it
  4. under the terms of the GNU Library General Public License as published by
  5. the Free Software Foundation; either version 2 of the License, or (at your
  6. option) any later version.
  7. This program is diStributed in the hope that it will be useful, but WITHOUT
  8. ANY WARRANTY; withOut even the implied warranty of MERCHANTABILITY or
  9. FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License
  10. for more details.
  11. You should have received a Copy of the GNU Library General Public License
  12. along with This library; if not, Write to the Free Software Foundation,
  13. Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  14. This license has been modified. See File LICENSE.ADDON for more inFormation.
  15. Should you find these sources without a LICENSE File, please contact
  16. me at [email protected]
  17. }
  18. unit lSpawnFCGI;
  19. {$mode objfpc}{$H+}
  20. interface
  21. uses
  22. Sockets, lNet, lCommon;
  23. function SpawnFCGIProcess(App, Enviro: string; const aPort: Word): Integer;
  24. implementation
  25. {$ifdef UNIX}
  26. {$i lspawnfcgiunix.inc}
  27. {$else}
  28. {$i lspawnfcgiwin.inc}
  29. {$endif}
  30. end.