entry.c 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. /*++
  2. Copyright (c) 2017 Minoca Corp.
  3. This file is licensed under the terms of the GNU General Public License
  4. version 3. Alternative licensing terms are available. Contact
  5. info@minocacorp.com for details. See the LICENSE file at the root of this
  6. project for complete licensing information.
  7. Module Name:
  8. entry.c
  9. Abstract:
  10. This module implements the dynamic library entry point for the Chalk _time
  11. module. It is kept separate from the rest of the library so that if the
  12. module is statically linked in this file can simply be left out.
  13. Author:
  14. Evan Green 21-Jun-2017
  15. Environment:
  16. C
  17. --*/
  18. //
  19. // ------------------------------------------------------------------- Includes
  20. //
  21. #include "spawnp.h"
  22. //
  23. // ---------------------------------------------------------------- Definitions
  24. //
  25. //
  26. // ------------------------------------------------------ Data Type Definitions
  27. //
  28. //
  29. // ----------------------------------------------- Internal Function Prototypes
  30. //
  31. //
  32. // -------------------------------------------------------------------- Globals
  33. //
  34. //
  35. // ------------------------------------------------------------------ Functions
  36. //
  37. __DLLEXPORT
  38. VOID
  39. CkModuleInit (
  40. PCK_VM Vm
  41. )
  42. /*++
  43. Routine Description:
  44. This routine is the entry point into the module. It populates the module
  45. namespace.
  46. Arguments:
  47. Vm - Supplies a pointer to the virtual machine.
  48. Return Value:
  49. None.
  50. --*/
  51. {
  52. CkpSpawnModuleInit(Vm);
  53. return;
  54. }
  55. //
  56. // --------------------------------------------------------- Internal Functions
  57. //