diff options
author | goodale <goodale@bfcf8e34-485d-4d46-a995-1fd6fa6fb178> | 2000-10-04 09:33:52 +0000 |
---|---|---|
committer | goodale <goodale@bfcf8e34-485d-4d46-a995-1fd6fa6fb178> | 2000-10-04 09:33:52 +0000 |
commit | a56d13efe4ca5ae5ec16daf48a1842e61de89109 (patch) | |
tree | f9c3f93aeecc0cfd9ee3447675584071ad424481 /src/Startup.c | |
parent | 26d5683ec2ee7d39c246029122ef80bcd4d63b96 (diff) |
Socket layer. Compiles but untested.
Tom
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IsoSurfacer/trunk@6 bfcf8e34-485d-4d46-a995-1fd6fa6fb178
Diffstat (limited to 'src/Startup.c')
-rw-r--r-- | src/Startup.c | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/Startup.c b/src/Startup.c index 9a93ad9..987b0e0 100644 --- a/src/Startup.c +++ b/src/Startup.c @@ -16,11 +16,18 @@ #include "cctk_IOMethods.h" #include "IsoSurfacerInit.h" -void IsoSurfacer_Startup() +#include "cctk_Arguments.h" +#include "cctk_Parameters.h" + +int Iso_SetupServer(int dataport, int clientport, int queue_size, int hunt); + +int IsoSurfacer_Startup(void) { int IOMethod; int IsoSurfacer_GHExtension; + Iso_SetupServer(7051, 7050, 5, 1); + IsoSurfacer_GHExtension = CCTK_RegisterGHExtension ("IsoSurfacer"); CCTK_RegisterGHExtensionSetupGH (IsoSurfacer_GHExtension,IsoSurfacer_SetupGH); CCTK_RegisterGHExtensionInitGH (IsoSurfacer_GHExtension, IsoSurfacer_InitGH); @@ -33,3 +40,9 @@ void IsoSurfacer_Startup() } +int Iso_Poll(cGH *cctkGH, long sec, long usec); + +void IsoSurfacer_Worker(CCTK_ARGUMENTS) +{ + Iso_Poll(cctkGH, 0, 0); +} |