Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset eda925a in mainline for uspace/srv/devmap/devmap.c


Ignore:
Timestamp:
2010-02-04T15:46:51Z (12 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master
Children:
d32358f
Parents:
b4cbef1
Message:

improve naming conventions:
merge async_data_receive() and async_string_receive() into async_data_write_accept()
rename async_data_void() to async_data_write_void()
rename async_data_forward_fast() to async_data_write_forward_fast()
rename async_data_forward_n_m to async_data_write_forward_n_m

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/devmap/devmap.c

    rb4cbef1 reda925a  
    396396         * Get driver name
    397397         */
    398         int rc = async_string_receive(&driver->name, DEVMAP_NAME_MAXLEN, NULL);
     398        int rc = async_data_write_accept((char **) &driver->name, true, 0,
     399            DEVMAP_NAME_MAXLEN, 0, NULL);
    399400        if (rc != EOK) {
    400401                free(driver);
     
    510511        /* Get fqdn */
    511512        char *fqdn;
    512         int rc = async_string_receive(&fqdn, DEVMAP_NAME_MAXLEN, NULL);
     513        int rc = async_data_write_accept((char **) &fqdn, true, 0,
     514            DEVMAP_NAME_MAXLEN, 0, NULL);
    513515        if (rc != EOK) {
    514516                free(device);
     
    622624       
    623625        /* Get fqdn */
    624         int rc = async_string_receive(&fqdn, DEVMAP_NAME_MAXLEN, NULL);
     626        int rc = async_data_write_accept((char **) &fqdn, true, 0,
     627            DEVMAP_NAME_MAXLEN, 0, NULL);
    625628        if (rc != EOK) {
    626629                ipc_answer_0(iid, rc);
     
    683686       
    684687        /* Get device name */
    685         int rc = async_string_receive(&name, DEVMAP_NAME_MAXLEN, NULL);
     688        int rc = async_data_write_accept((char **) &name, true, 0,
     689            DEVMAP_NAME_MAXLEN, 0, NULL);
    686690        if (rc != EOK) {
    687691                ipc_answer_0(iid, rc);
Note: See TracChangeset for help on using the changeset viewer.