Changeset 36d852c in mainline for uspace/app/tester/vfs/vfs1.c


Ignore:
Timestamp:
2007-12-23T19:45:30Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
654b7db
Parents:
5c786d1
Message:

Rename IPC_M_DATA_SEND to IPC_M_DATA_WRITE. Now, when we also add
IPC_M_DATA_READ, it will not clash and cause confusion with userspace wrappers
such as ipc_data_receive(). Rename the forementioned wrappers to
ipc_data_write_send(), ipc_data_write_receive() and ipc_data_write_deliver().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/tester/vfs/vfs1.c

    r5c786d1 r36d852c  
    5454        aid_t req;
    5555        req = async_send_1(vfs_phone, VFS_MOUNT, TMPFS_DEVHANDLE, NULL);
    56         if (ipc_data_send(vfs_phone, fs_name, strlen(fs_name)) != EOK) {
     56        if (ipc_data_write_send(vfs_phone, fs_name, strlen(fs_name)) != EOK) {
    5757                async_wait_for(req, &rc);
    5858                return "Could not send fs_name to VFS.\n";
    5959        }
    60         if (ipc_data_send(vfs_phone, mp, strlen(mp)) != EOK) {
     60        if (ipc_data_write_send(vfs_phone, mp, strlen(mp)) != EOK) {
    6161                async_wait_for(req, &rc);
    6262                return "Could not send mp to VFS.\n";
     
    7171        ipc_call_t answer;
    7272        req = async_send_2(vfs_phone, VFS_OPEN, 0, 0, &answer);
    73         if (ipc_data_send(vfs_phone, path, strlen(path)) != EOK) {
     73        if (ipc_data_write_send(vfs_phone, path, strlen(path)) != EOK) {
    7474                async_wait_for(req, &rc);
    7575                return "Could not send path to VFS.\n";
Note: See TracChangeset for help on using the changeset viewer.