diff options
author | goodale <goodale@1faa4e14-9dd3-4be0-9f0e-ffe519881164> | 2000-09-16 20:10:28 +0000 |
---|---|---|
committer | goodale <goodale@1faa4e14-9dd3-4be0-9f0e-ffe519881164> | 2000-09-16 20:10:28 +0000 |
commit | 5a7d5ee4c0831d666233535ae8856684310c69ba (patch) | |
tree | 06cf1048e853380e00b8d6ce0565a72fd923cf08 /src/httpd.h | |
parent | 26bf3412fc4693fc7d61598a542b66e375353abc (diff) |
Added ability to pause and terminate the simulation.
Also can select how many iterations between steering
events.
Can now start simulation as 'standalone' twiddle with parameters,
then start the simulation, pause it, and kill it.
Tom
git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@31 1faa4e14-9dd3-4be0-9f0e-ffe519881164
Diffstat (limited to 'src/httpd.h')
-rw-r--r-- | src/httpd.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/httpd.h b/src/httpd.h index 50d0eb2..e6c6e3f 100644 --- a/src/httpd.h +++ b/src/httpd.h @@ -13,6 +13,16 @@ #ifndef __HTTP_H__ #define __HTTP_H__ 1 +typedef struct +{ + int steer; + int paused; + int terminate; + int timeout_seconds; + int timeout_useconds; + int standalone; +} httpState; + #ifdef __cplusplus extern "C" { @@ -30,6 +40,9 @@ int HTTP_Poll(cGH *cctkGH, long sec, long usec); int HTTP_RequestGET(cGH *cctkGH, httpRequest *request); int HTTP_RequestUnsupported(cGH *cctkGH, httpRequest *request); +/* State stuff */ +int HTTP_UpdateState(cGH *cctkGH, httpState *state); + #ifdef __cplusplus } #endif |