Minor changes.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2654 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2003-02-08 00:35:13 +00:00
parent 9eebe3f574
commit 79cf70b37a

View File

@ -877,11 +877,9 @@ get next disk device
target: disk device manager target: disk device manager
message: B_REG_NEXT_DISK_DEVICE message: B_REG_NEXT_DISK_DEVICE
"cookie": B_INT32_TYPE "cookie": B_INT32_TYPE
reply: standard success reply: standard general result
"device": B_MESSAGE_TYPE "device": B_MESSAGE_TYPE
"cookie": B_INT32_TYPE "cookie": B_INT32_TYPE
on error: - B_NO_REPLY (fatal)
- standard error
message fields: message fields:
- "cookie": An iteration cookie. Initially 0. - "cookie": An iteration cookie. Initially 0.
@ -889,9 +887,7 @@ message fields:
reply fields: reply fields:
- "device": Archived BDiskDevice info. - "device": Archived BDiskDevice info.
- "cookie": Next value for the iteration cookie. - "cookie": Next value for the iteration cookie.
- "result":
error reply fields:
- "error":
- B_BAD_VALUE: A request message field is missing or contains an - B_BAD_VALUE: A request message field is missing or contains an
invalid value. invalid value.
- B_ENTRY_NOT_FOUND: Iteration finished. - B_ENTRY_NOT_FOUND: Iteration finished.
@ -906,10 +902,8 @@ message: B_REG_GET_DISK_DEVICE
"device_id": B_INT32_TYPE "device_id": B_INT32_TYPE
| "session_id": B_INT32_TYPE | "session_id": B_INT32_TYPE
| "partition_id": B_INT32_TYPE | "partition_id": B_INT32_TYPE
reply: standard success reply: standard general result
"device": B_MESSAGE_TYPE "device": B_MESSAGE_TYPE
on error: - B_NO_REPLY (fatal)
- standard error
message fields: message fields:
- "device_id": ID of the device to be retrieved. - "device_id": ID of the device to be retrieved.
@ -918,9 +912,7 @@ message fields:
reply fields: reply fields:
- "device": Archived BDiskDevice info. - "device": Archived BDiskDevice info.
- "result":
error reply fields:
- "error":
- B_BAD_VALUE: A request message field is missing or contains an - B_BAD_VALUE: A request message field is missing or contains an
invalid value. invalid value.
- B_ENTRY_NOT_FOUND: A device/session/partition with that ID could not - B_ENTRY_NOT_FOUND: A device/session/partition with that ID could not
@ -938,17 +930,17 @@ message: B_REG_UPDATE_DISK_DEVICE
| "partition_id": B_INT32_TYPE | "partition_id": B_INT32_TYPE
"change_counter": B_INT32_TYPE "change_counter": B_INT32_TYPE
"update_policy": B_INT32_TYPE "update_policy": B_INT32_TYPE
reply: standard success reply: standard general result
"up_to_date": B_BOOLEAN_TYPE "up_to_date": B_BOOLEAN_TYPE
[ "device": B_MESSAGE_TYPE ] [ "device": B_MESSAGE_TYPE ]
on error: - B_NO_REPLY (fatal)
- standard error
message fields: message fields:
- "device_id": ID of the device to be retrieved. - "device_id": ID of the device to be retrieved.
- "session_id": ID of session whose device shall be retrieved. - "session_id": ID of session whose device shall be retrieved.
- "partition_id": ID of partition whose device shall be retrieved. - "partition_id": ID of partition whose device shall be retrieved.
- "change_counter": Change counter of the object in question. - "change_counter": Change counter of the object (or device in case of
B_REG_DEVICE_UPDATE_DEVICE_CHANGED update policy) in
question.
- "update_policy": (uint32) - "update_policy": (uint32)
B_REG_DEVICE_UPDATE_CHECK: Check only, if the object is up to date. B_REG_DEVICE_UPDATE_CHECK: Check only, if the object is up to date.
B_REG_DEVICE_UPDATE_CHANGED: Update only, if the object has changed. B_REG_DEVICE_UPDATE_CHANGED: Update only, if the object has changed.
@ -961,9 +953,7 @@ reply fields:
B_REG_DEVICE_UPDATE_DEVICE_CHANGED also the device) is already up to date, B_REG_DEVICE_UPDATE_DEVICE_CHANGED also the device) is already up to date,
false otherwise. false otherwise.
- "device": Archived BDiskDevice info. - "device": Archived BDiskDevice info.
- "result":
error reply fields:
- "error":
- B_BAD_VALUE: A request message field is missing or contains an - B_BAD_VALUE: A request message field is missing or contains an
invalid value. invalid value.
- B_ENTRY_NOT_FOUND: A device/session/partition with that ID could not - B_ENTRY_NOT_FOUND: A device/session/partition with that ID could not
@ -978,16 +968,14 @@ target: disk device manager
message: B_REG_DEVICE_START_WATCHING message: B_REG_DEVICE_START_WATCHING
"target": B_MESSENGER_TYPE "target": B_MESSENGER_TYPE
"events": B_INT32_TYPE "events": B_INT32_TYPE
reply: standard success reply: standard general result
on error: - B_NO_REPLY (fatal) on error: - B_NO_REPLY (fatal)
- standard error - standard error
message fields: message fields:
- "target": The target the event messages shall be sent to. - "target": The target the event messages shall be sent to.
- "events": Specifies the events the caller is interested in (uint32). - "events": Specifies the events the caller is interested in (uint32).
- "result":
error reply fields:
- "error":
- B_BAD_VALUE: A request message field is missing or contains an - B_BAD_VALUE: A request message field is missing or contains an
invalid value. invalid value.
- ... - ...
@ -999,15 +987,13 @@ stop disk device watching
target: disk device manager target: disk device manager
message: B_REG_DEVICE_STOP_WATCHING message: B_REG_DEVICE_STOP_WATCHING
"target": B_MESSENGER_TYPE "target": B_MESSENGER_TYPE
reply: standard success reply: standard general result
on error: - B_NO_REPLY (fatal) on error: - B_NO_REPLY (fatal)
- standard error - standard error
message fields: message fields:
- "target": The target that shall not longer receive any event messages. - "target": The target that shall not longer receive any event messages.
- "result":
error reply fields:
- "error":
- B_BAD_VALUE: A request message field is missing or contains an - B_BAD_VALUE: A request message field is missing or contains an
invalid value. invalid value.
- ... - ...