Index: trunk/Ohana/src/opihi/include/pcontrol.h
===================================================================
--- trunk/Ohana/src/opihi/include/pcontrol.h	(revision 18096)
+++ trunk/Ohana/src/opihi/include/pcontrol.h	(revision 19124)
@@ -25,4 +25,10 @@
   PCONTROL_JOB_NEEDHOST,
 } JobMode;
+
+/** job thread options values **/
+typedef enum {
+  PCONTROL_JOB_THREADS_NONE,
+  PCONTROL_JOB_THREADS_MAX,
+} JobThreadMode;
 
 /** host status values **/
@@ -106,4 +112,5 @@
   int         stdout_fd;
   int         stderr_fd;
+  int         max_threads;
   int         markoff;
   int         pid;
@@ -228,5 +235,5 @@
 Host  *PullHostFromStackByID (int StackID, IDtype ID);
 Host  *PullHostFromStackByName (int StackID, char *name);
-IDtype AddHost (char *hostname);
+IDtype AddHost (char *hostname, int max_threads);
 void   DelHost (Host *host);
 
