Changeset 10652 for trunk/Ohana/src/opihi/pcontrol/host.c
- Timestamp:
- Dec 12, 2006, 1:17:11 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/pcontrol/host.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/pcontrol/host.c
r8424 r10652 68 68 } 69 69 70 # if 071 host = PullHostFromStackByName (PCONTROL_HOST_IDLE, argv[2]);72 if (host) {73 StopHost (host);74 OffHost (host);75 ClearCheckPoint ();76 return (TRUE);77 }78 host = PullHostFromStackByName (PCONTROL_HOST_DOWN, argv[2]);79 if (host) {80 OffHost (host);81 ClearCheckPoint ();82 return (TRUE);83 }84 /* XXX the 'markoff' flag is not being checked */85 host = PullHostFromStackByName (PCONTROL_HOST_BUSY, argv[2]);86 if (host) {87 host[0].markoff = TRUE;88 PutHost (host, PCONTROL_HOST_BUSY, STACK_BOTTOM);89 ClearCheckPoint ();90 return (TRUE);91 }92 /* XXX the 'markoff' flag is not being checked */93 host = PullHostFromStackByName (PCONTROL_HOST_DONE, argv[2]);94 if (host) {95 host[0].markoff = TRUE;96 PutHost (host, PCONTROL_HOST_DONE, STACK_BOTTOM);97 ClearCheckPoint ();98 return (TRUE);99 }100 gprint (GP_LOG, "host %s is not found (already off?)\n", argv[2]);101 ClearCheckPoint ();102 return (FALSE);103 }104 # endif105 106 70 if (!strcasecmp (argv[1], "DELETE")) { 107 71 // a check point is not required: no possible thief
Note:
See TracChangeset
for help on using the changeset viewer.
