Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.3 KiB

  1. /*
  2. Copyright (c) 2003-2005 Alberto Demichelis
  3. This software is provided 'as-is', without any
  4. express or implied warranty. In no event will the
  5. authors be held liable for any damages arising from
  6. the use of this software.
  7. Permission is granted to anyone to use this software
  8. for any purpose, including commercial applications,
  9. and to alter it and redistribute it freely, subject
  10. to the following restrictions:
  11. 1. The origin of this software must not be
  12. misrepresented; you must not claim that
  13. you wrote the original software. If you
  14. use this software in a product, an
  15. acknowledgment in the product
  16. documentation would be appreciated but is
  17. not required.
  18. 2. Altered source versions must be plainly
  19. marked as such, and must not be
  20. misrepresented as being the original
  21. software.
  22. 3. This notice may not be removed or
  23. altered from any source distribution.
  24. */
  25. #ifndef _SQ_RDBG_H_
  26. #define _SQ_RDBG_H_
  27. #ifdef __cplusplus
  28. extern "C" {
  29. #endif
  30. #ifndef _GAMECONSOLE
  31. #pragma comment(lib, "WSOCK32.LIB")
  32. #endif
  33. struct SQDbgServer;
  34. typedef SQDbgServer* HSQREMOTEDBG;
  35. HSQREMOTEDBG sq_rdbg_init(HSQUIRRELVM v,unsigned short port,SQBool autoupdate);
  36. SQRESULT sq_rdbg_waitforconnections(HSQREMOTEDBG rdbg);
  37. SQRESULT sq_rdbg_shutdown(HSQREMOTEDBG rdbg);
  38. SQRESULT sq_rdbg_update(HSQREMOTEDBG rdbg);
  39. #ifdef __cplusplus
  40. } /*extern "C"*/
  41. #endif
  42. #endif //_SQ_RDBG_H_