diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2014-11-16 20:16:01 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2014-11-16 20:16:01 +0100 |
commit | 36a9558737abb4fc6440903361a6c175a4140f35 (patch) | |
tree | 1d08e3f3ecdf41ebecf017222cb1cbcf2edd09b5 /src/worker.h | |
parent | 3ecaed99580f378fbcb2598b2570c65d0f3ebc99 (diff) | |
download | biruda-36a9558737abb4fc6440903361a6c175a4140f35.tar.gz biruda-36a9558737abb4fc6440903361a6c175a4140f35.tar.bz2 |
workers are communicated from coordinator to master during registration now
status shows worker states too
Diffstat (limited to 'src/worker.h')
-rw-r--r-- | src/worker.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/worker.h b/src/worker.h index 29c6e37..bbdf3e5 100644 --- a/src/worker.h +++ b/src/worker.h @@ -13,7 +13,7 @@ typedef struct { } worker_t; const char *worker_exection_mode_str( worker_execution_mode_t mode ); -worker_execution_mode_t worker_execution_mode_from_int( unsigned int v ); +worker_execution_mode_t worker_execution_mode_from_str( const char *s ); int worker_init( const char *control ); void worker_terminate( ); |